Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Application hangs when finished.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Application hangs when finished.
Try deleting the CloseBrowser call and let the application handle the destruction of TChromium when you close your app.
Re: Application hangs when finished.
I try that, of course. But with the same problem: Sometimes crash (in 30% of all times)
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Application hangs when finished.
Then you have to follow the destruction sequence from the second case.
Edit : Don't close your app until you receive the TChromium.OnBeforeClose event.
Edit : Don't close your app until you receive the TChromium.OnBeforeClose event.
Re: Application hangs when finished.
Crash also happens without call "CreateBrowser". I use ASProtect, maybe this can be the problem?
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Application hangs when finished.
I've never used ASProtect. I can't tell you if that's the cause of the crashes.
Re: Application hangs when finished.
I try to find the problem using a tool i wrote to automatically start the Application, navigate to a side, then stop and close the app.
I will post any News here.
=== Update 1 ===
It seems that, if an external application start/stop the Chromium-Application (WM_CLOSE Message or Mouse-Click-Simulation), everything is ok, no crash.
I will post any News here.
=== Update 1 ===
It seems that, if an external application start/stop the Chromium-Application (WM_CLOSE Message or Mouse-Click-Simulation), everything is ok, no crash.