mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:12:53 +02:00
commit
7c4b341f52
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ void GenericThread::initialize(bool isThreaded) {
|
||||||
// when the worker thread is started, call our engine's run..
|
// when the worker thread is started, call our engine's run..
|
||||||
connect(_thread, SIGNAL(started()), this, SLOT(threadRoutine()));
|
connect(_thread, SIGNAL(started()), this, SLOT(threadRoutine()));
|
||||||
|
|
||||||
// when the thread is terminated, add both scriptEngine and thread to the deleteLater queue
|
// XXXBHG: this is a known memory leak/thread leak. I will fix this shortly.
|
||||||
//connect(this, SIGNAL(finished()), this, SLOT(deleteLater()));
|
//connect(this, SIGNAL(finished()), this, SLOT(deleteLater()));
|
||||||
//connect(_thread, SIGNAL(finished()), _thread, SLOT(deleteLater()));
|
//connect(_thread, SIGNAL(finished()), _thread, SLOT(deleteLater()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue