mirror of
https://github.com/corda/corda.git
synced 2025-01-22 12:28:11 +00:00
fixed xul deadlock bug on linux
This commit is contained in:
parent
6bca8fcefc
commit
f773c9e610
@ -62,8 +62,10 @@ AttachCurrentThread(Machine* m, Thread** t, void*)
|
||||
*t = static_cast<Thread*>(m->localThread->get());
|
||||
if (*t == 0) {
|
||||
*t = m->processor->makeThread(m, 0, m->rootThread);
|
||||
m->system->attach(&((*t)->runnable));
|
||||
|
||||
enter(*t, Thread::ActiveState);
|
||||
enter(*t, Thread::IdleState);
|
||||
|
||||
m->localThread->set(*t);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user