Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
current (nightly)
-
None
Description
In
int HandlerLoader::createHandler (BasicHandler** pHandler, int nLibId)
there is this code:
//lock ();
Lock l(this);
and later this code:
unlock ();
I assume the unlock() call should be commented out, as this is the case in other places. ~Lock() releases the mutex it acquired in Lock() so an explicit call to l.unlock() (as in other places in that file) should not be needed.
Also, as a side note, it would be better to use critical sections on Windows, since mutexes on that platform are cross process and slow.