History

Fix SharedNodePointer leak

Atlante45 committed 9 years ago

Commit 61eb93a1 parent 1baff8a4 files · +17 −9Browse files

Showing the changes to libraries/shared/src/GenericThread.cpp (1 of 4 files). Show all

Unified · Split

libraries/shared/src/GenericThread.cpp+2−0
@@ -10,6 +10,7 @@ · 9 unmodified lines
1010 //
1111
1212 #include <QDebug>
13+#include <QtCore/QCoreApplication>
1314
1415 #include "GenericThread.h"
1516
@@ -73,6 +74,7 @@ void GenericThread::threadRoutine() { · 57 unmodified lines
7374 }
7475
7576 while (!_stopThread) {
77+ QCoreApplication::processEvents();
7678
7779 // override this function to do whatever your class actually does, return false to exit thread early
7880 if (!process()) {