Feature? - register callback to the QuitEvent
jlp765 opened this issue · comments
jlp765 commented
Is there already a way to have a callback proc called on the QuitEvent
so that the quit can be intercepted, and
- the user asked if they want to quit (and a mechanism to stop the QuitEvent propagating)
- do some clean up, etc (although this could be done by the
exitprocs.addExitProc
)
Yuriy Glukhov commented
There's no such thing iirc. If you're into implementing it, I'd suggest doing this API by adding shouldExit*: proc(): bool
to Application
.