mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 16:50:43 +02:00
don't hang if somehow setting display plugin to the current one
This commit is contained in:
parent
1e827a925a
commit
54906a270e
1 changed files with 2 additions and 2 deletions
|
@ -170,11 +170,11 @@ public:
|
|||
glFinish();
|
||||
}
|
||||
currentPlugin = newPlugin;
|
||||
}
|
||||
_newPluginQueue.pop();
|
||||
_condition.notify_one();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If there's no active plugin, just sleep
|
||||
if (currentPlugin == nullptr) {
|
||||
|
|
Loading…
Reference in a new issue