[obs] Fix function call causing crash on lgUpdate

This commit is contained in:
esi 2022-10-20 23:01:27 -04:00 committed by Geoffrey McRae
parent d857b2a36e
commit 7e42e6cdce

View File

@ -156,7 +156,7 @@ static void deinit(LGPlugin * this)
case STATE_STOPPING: case STATE_STOPPING:
case STATE_RESTARTING: case STATE_RESTARTING:
this->state = STATE_STOPPING; this->state = STATE_STOPPING;
createThreads(this); waitThreads(this);
this->state = STATE_STOPPED; this->state = STATE_STOPPED;
/* fallthrough */ /* fallthrough */