Forum Discussion
h_hasenack
14 years agoOccasional Contributor
Status update
It appears in one of my bpls for multithreading I had 2 CreateSemaphore calls, and the application forgot to close the handles.
The 2nd time the application was started (or maybe even in the IDE) this seems to create some kind of conflict causing the external exception.
I found the resource leaks using AQTime -NoOpenApp parameter, not running ot from the IDE but separately.
Next I added the required code to close the semaphores, and it seems like the IDE crash problem is gone.
I will let you know if -after some more serious retesting- the problem is really gone.
Maybe you can confirm the External Exceptions may happen because of things like this.
It appears in one of my bpls for multithreading I had 2 CreateSemaphore calls, and the application forgot to close the handles.
The 2nd time the application was started (or maybe even in the IDE) this seems to create some kind of conflict causing the external exception.
I found the resource leaks using AQTime -NoOpenApp parameter, not running ot from the IDE but separately.
Next I added the required code to close the semaphores, and it seems like the IDE crash problem is gone.
I will let you know if -after some more serious retesting- the problem is really gone.
Maybe you can confirm the External Exceptions may happen because of things like this.