shared_object: Use deleteLater in unref for thread safety

This makes unref safe when it's not called from within the object's thread.

Fixes #4009
This commit is contained in:
Lukas W
2017-11-24 13:30:15 +01:00
parent aa1406bac9
commit c9c22e4a0e

View File

@@ -61,7 +61,7 @@ public:
if ( deleteObject )
{
delete object;
object->deleteLater();
}
}