c++ - Qt: deleteLater deletes object only on application close -


i have mainwindow creates, in 1 of slots, other widget, let's call a. @ point later on other slot, widget should deleted, call a->deletelater();

but noticed destructor called when application close.

what can produce such behaviour? why deletelater delayed?

i'm using qt 4.8.6. happens in main thread, , main event loop running.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -