mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-05 00:35:46 -05:00
do not hold main lock in callback handling
This commit is contained in:
parent
e5d6f2eef0
commit
45e5738d2c
|
|
@ -515,7 +515,6 @@ extern "C" void FreeSceneSwitcher()
|
|||
|
||||
void handleSceneChange(SwitcherData *s)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(s->m);
|
||||
//stop waiting if scene was manually changed
|
||||
if (s->sceneChangedDuringWait())
|
||||
s->cv.notify_one();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user