Prevent deadlocks from Overlays update logic recursing into other Overlays calls

This commit is contained in:
Brad Davis 2017-07-27 19:39:22 -07:00
parent d572510770
commit bb57504498

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