@@ -34,10 +34,15 @@ #endif static OFMutableDictionary OF_GENERIC(OFString *, OFURLHandler *) *handlers; #ifdef OF_HAVE_THREADS static OFMutex *mutex; + +OF_DESTRUCTOR() +{ + [mutex release]; +} #endif @implementation OFURLHandler @synthesize scheme = _scheme;