@@ -81,11 +81,11 @@ - initWithObject: (id)obj { Class c; self = [super init]; - object = obj; + object = [obj copy]; #ifndef _WIN32 if (pthread_create(&thread, NULL, call_main, self)) { #else if ((thread = @@ -141,10 +141,11 @@ TerminateThread(thread, 1); CloseHandle(thread); } #endif + [object release]; [super dealloc]; } @end @implementation OFTLSKey