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 -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -