mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
AddSignalHandler was not releasing the critical section on win32.
Patch from Gianluigi Tiesi! llvm-svn: 100003
This commit is contained in:
parent
967cac7bf6
commit
ba2f97fcb0
@ -163,6 +163,7 @@ void sys::AddSignalHandler(void (*FnPtr)(void *), void *Cookie) {
|
||||
CallBacksToRun = new std::vector<std::pair<void(*)(void*), void*> >();
|
||||
CallBacksToRun->push_back(std::make_pair(FnPtr, Cookie));
|
||||
RegisterHandler();
|
||||
LeaveCriticalSection(&CriticalSection);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user