mirror of https://github.com/davisking/dlib.git
Fixed a double unlock bug.
This commit is contained in:
parent
2461a5e16a
commit
a8337a667d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue