Commit 222f2eae authored by Davis King's avatar Davis King

Added missing mutex unlock statement.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403439
parent bedbe521
......@@ -109,6 +109,13 @@ namespace dlib
data_mutex.unlock();
delete this;
}
else
{
// There are still some user threads running so there isn't
// much we can really do. Just let the program end without
// cleaning up threading resources.
data_mutex.unlock();
}
}
// ----------------------------------------------------------------------------------------
......
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