is there a way to check quitting process ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Inces

I just want to ged rid of some errors happening on the moment of quitting running project. They are most likely result of deletion queue, that frees some areas first, and they trigger area_exited signal on their dying breath. I would like to adapt collision code and for that I need a method to check if deletion queue for whole project has been initiated. I tried to use is_queued_for_deletionfor areas itself, but it does not work.

:bust_in_silhouette: Reply From: jgodfrey

Maybe you’re looking for the MainLoop.NOTIFICATION_WM_QUIT_REQUEST notification that’s sent when the application exits? You can handle that notification yourself if you want special behavior. See the docs for details.