Fixed a double unlock bug.

This commit is contained in:
Davis King 2012-12-28 19:33:43 -05:00
parent 2461a5e16a
commit a8337a667d
1 changed files with 1 additions and 1 deletions

View File

@ -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;