[Interest] Is QObject::deleteLater() thread safe?

Sze Howe Koh szehowe.koh at gmail.com
Mon Oct 12 12:51:30 CEST 2015

The function body simply calls the following, which is thread safe:

    QCoreApplication::postEvent(this, new QDeferredDeleteEvent());

So, it looks like deleteLater() is safe to call from any thread. Are
there any technical or philosophical reasons not to do that?


More information about the Interest mailing list