Showing the changes to libraries/shared/src/GenericThread.cpp (1 of 1 file). Show all
Unified · Split
| @@ -28,7 +28,7 @@ void GenericThread::initialize(bool isThreaded) { · 27 unmodified lines | |||
| 28 | // when the worker thread is started, call our engine's run.. | 28 | // when the worker thread is started, call our engine's run.. |
| 29 | connect(_thread, SIGNAL(started()), this, SLOT(threadRoutine())); | 29 | connect(_thread, SIGNAL(started()), this, SLOT(threadRoutine())); |
| 30 | 30 | ||
| 31 | // when the thread is terminated, add both scriptEngine and thread to the deleteLater queue | 31 | // XXXBHG: this is a known memory leak/thread leak. I will fix this shortly. |
| 32 | //connect(this, SIGNAL(finished()), this, SLOT(deleteLater())); | 32 | //connect(this, SIGNAL(finished()), this, SLOT(deleteLater())); |
| 33 | //connect(_thread, SIGNAL(finished()), _thread, SLOT(deleteLater())); | 33 | //connect(_thread, SIGNAL(finished()), _thread, SLOT(deleteLater())); |
| 34 | 34 | ||