RT stuck in loop when pasting profile, Issue 2363
This commit is contained in:
@@ -865,8 +865,8 @@ void ImProcCoordinator::startProcessing () {
|
|||||||
#undef THREAD_PRIORITY_NORMAL
|
#undef THREAD_PRIORITY_NORMAL
|
||||||
|
|
||||||
if (!destroying) {
|
if (!destroying) {
|
||||||
updaterThreadStart.lock ();
|
|
||||||
if (!updaterRunning) {
|
if (!updaterRunning) {
|
||||||
|
updaterThreadStart.lock ();
|
||||||
thread = NULL;
|
thread = NULL;
|
||||||
updaterRunning = true;
|
updaterRunning = true;
|
||||||
updaterThreadStart.unlock ();
|
updaterThreadStart.unlock ();
|
||||||
@@ -876,8 +876,6 @@ void ImProcCoordinator::startProcessing () {
|
|||||||
thread = Glib::Thread::create(sigc::mem_fun(*this, &ImProcCoordinator::process), 0, true, true, Glib::THREAD_PRIORITY_NORMAL);
|
thread = Glib::Thread::create(sigc::mem_fun(*this, &ImProcCoordinator::process), 0, true, true, Glib::THREAD_PRIORITY_NORMAL);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
|
||||||
updaterThreadStart.unlock ();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user