oc/TallocWrapper: don't handle Threading initialization here

It is SOGo backend module responsibility to setup/teardonw all
ObjC specific initialization

Signed-off-by: Kamen Mazdrashki <kmazdrashki@zentyal.com>
pull/49/head
Kamen Mazdrashki 2014-06-24 15:28:42 +02:00 committed by Julio García
parent 1fc3a57210
commit 1846e1ee5d
1 changed files with 2 additions and 2 deletions

View File

@ -47,13 +47,13 @@ MAPIStoreTallocWrapperDestroy (void *data)
struct MAPIStoreTallocWrapper *wrapper;
NSAutoreleasePool *pool;
GSRegisterCurrentThread ();
// GSRegisterCurrentThread ();
pool = [NSAutoreleasePool new];
wrapper = data;
//NSLog (@"destroying wrapped object (wrapper: %p; object: %p (%@))...\n", wrapper, wrapper->instance, NSStringFromClass([wrapper->instance class]));
[wrapper->instance release];
[pool release];
GSUnregisterCurrentThread ();
// GSUnregisterCurrentThread ();
return 0;
}