mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 05:37:22 +02:00
Merge pull request #15704 from sethalves/bugz-566
case BUGZ-566: don't hang if somehow setting display plugin to the current one
This commit is contained in:
commit
1994e08689
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