Note for my own sanity (or if someone cares why this demo didn’t work on 2019r2 and later) The code was working but a button I added to the form to test this termination of the webkits wasn’t firing because of <https://xojo.com/issue/58757>, I have adjusted the demo linked above.
Still, this might not help you Joost but its worth a try
@
I’ve tested your code for killing the CefSubPorc processes in the close event of the window. At least in 2019R1.1 it works and seems to solve my problem by iterating and stopping these procs. Thank you !
It seemed to be fixed for a bit but now it’s returned. Any ideas on why this has started happening? I’ve been using R2 since it came out with no problems but this started a few days ago. I thought the cefcleaner was a work around but that doesn’t always work either.
The response to the feedback report was that it was likely to be something to do with my system setup. So I tried turning off my virus protection, Malware Bytes 4.0.4 and that seems to have sorted it. I’ve turned the virus protection back on and things are still working.
So there does appear to be some interaction between Malware Bytes and Xojo.
@David Graham I moved away from Malwarebytes eventually. I had to reboot every morning to allow me to delete the debug folder and I tried everything I could think to stop Malware from interfering.
Thanks Jim for pointing out where my problem might be. Fortunately I have retired, and last weekend was the first time I had used Xojo in a couple of years. My old job had asked me to modify my old code. So I can live with turning off Malware occasionally. Now I Just have to remember what the problem is if I run into the problem again.
Is there a way, in Windows, to over ride a lock from another app? In this case, from the Xojo IDE. Even when closed, Windows still keeps a lock on it until the PC is rebooted.
That seems really odd
If you open activity monitor is the IDE perhaps still running and only has a TrayItem open ?
There’s an option under Edit > Options > When Closing Last Window
If its set to “Keep Xojo Running” there will be a Xojo process running and an item in the tray where you could open a new project etc
its one more avenue to check to see if thats what holds that item
I cant think of any other reason it would IF the Xojo process completely exits as tha twould seem to be a huge bug in Windows
There is no Xojo icon in the system tray. I’ve never seen one there and just checked it is not there now either. BTW, I am using 2019 R1.1. But the same thing can happen in 2017 R3 too.
This was just a wild assed guess about what might be causing it
If you dig into the debug folder whats in there ?
That should be whatever items are being held and cant be deleted which might offer some clues (for any version this happens in)