Merge pull request #11069 from jherico/overlay_deadlocks

Prevent deadlocks from Overlays update logic recursing into other Overlays calls
This commit is contained in:
Chris Collins 2017-07-28 09:25:26 -07:00 committed by GitHub
commit 20513ccf83

View file

@ -323,7 +323,7 @@ signals:
private:
void cleanupOverlaysToDelete();
mutable QMutex _mutex;
mutable QMutex _mutex { QMutex::Recursive };
QMap<OverlayID, Overlay::Pointer> _overlaysHUD;
QMap<OverlayID, Overlay::Pointer> _overlaysWorld;
#if OVERLAY_PANELS