I have built a program with a window and a SetWindowCallback.
When The window is closed, the following code "breaks" correctly:
Code: Select all
if *Sheet\PB
repeat
if not IsWindow(*Sheet\PB)
break
endif
Protected NrEvent = WaitWindowEvent()
forever
endif
But then I can go withthe debugger (F8) to the end of the program and it won't stop.
I did set SetWindowCallback to 0 at window close.
Do I need to cleanup more then that; any BindGadget?
Can I force to stop the program (end does even not work)?
The purebasic_compilation0.exe keeps staying in folder; next compile builds another one.
The big problem is that even the compiled exe (without using IDEs debugger) does not stop as I can see in the task manager!
Any idea how I can stop maybe the process?
Really apreciate any tip!
Thanks