If you kill the application, it is aborted immediately so no destructors are called. You can intercept those situations if you want and act accordingly.
If you kill the application, it is aborted immediately so no destructors are called. You can intercept those situations if you want and act accordingly.
But why destructors calling when i use static global variable?
I don't know. They shouldn't be. Unless Qt installs some handler for its QObjects but I doubt it.
Bookmarks