mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-18 04:26:49 +00:00
Delete dangling GUIInvoke object
This commit is contained in:
@@ -940,6 +940,7 @@ void GUIInvoke::init()
|
||||
{
|
||||
GUIInvoke *invoke = new GUIInvoke(NULL, {});
|
||||
methodIndex = invoke->metaObject()->indexOfMethod(QMetaObject::normalizedSignature("doInvoke()"));
|
||||
invoke->deleteLater();
|
||||
}
|
||||
|
||||
void GUIInvoke::call(QObject *obj, const std::function<void()> &f)
|
||||
|
||||
Reference in New Issue
Block a user