Commit a8337a66 authored by Davis King's avatar Davis King

Fixed a double unlock bug.

parent 2461a5e1
......@@ -289,7 +289,7 @@ namespace dlib
if (p.get() == 0)
{
p.reset(new event_handler_thread());
global_mutex()->unlock();
M.unlock();
p->start_event_thread();
}
return p;
......
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