In one of my two main applications, the application Close event never fires if I run it from within PB or in the debugger. It fires in the compiled (pcode) version. Almost identical code also works everywhere (in PB, debugger, or compiled) in the other application.
I put a breakpoint on the first line of code in the Close event, ran the app, exited the main window, and it just returned right back to the debugger. So it's not as if the application hasn't terminated. The Close event also fires if I do HALT CLOSE.
This is in PB2019 Build 2082.
Any bright ideas? Thanks.
I then got distracted looking at another workspace and when I came back to the original one the problem was resolved. Go figure?
So in conclusion it was something flakey, which is what Chris was saying before.
I trust you are keeping well and busy :)
Cheers
David