Commit 4d84a13c authored by Davis King's avatar Davis King

Added a missing mutex lock to the tooltip widget.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402478
parent dfd774fe
...@@ -1034,6 +1034,7 @@ namespace dlib ...@@ -1034,6 +1034,7 @@ namespace dlib
void hide ( void hide (
) )
{ {
auto_mutex M(m);
mouse_over_event::hide(); mouse_over_event::hide();
if (stuff) if (stuff)
{ {
...@@ -1045,6 +1046,7 @@ namespace dlib ...@@ -1045,6 +1046,7 @@ namespace dlib
void disable ( void disable (
) )
{ {
auto_mutex M(m);
mouse_over_event::disable(); mouse_over_event::disable();
if (stuff) if (stuff)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment