App.closing event not firing when last window is closed

As a workaround/test you could try implementing your own auto quit by adding a method to App:

Does this now really work?

For me, (see App keeps running) this approach resulted in a crash/segfault.

I ended up using a timer to do the checking and quitting.