Is it safe calling QObject::deleteLater() when pointer equals 0? I googled it and searched in documentation, but I didn’t find any helpful information.
Is it safe calling QObject::deleteLater() when pointer equals 0? I googled it and searched
Share
You should not be able / should not do any call to a function of a 0 pointer.
It should be treated as a delete operation but it’s a function of the object itself, so no object no function.