IOS-1143 logging wrapped main session release
authorDirk Zimmermann <dirk@pep-project.org>
Wed, 04 Jul 2018 13:21:53 +0200
changeset 6372910f5cf61ea
parent 636 11d6508b7c62
child 638 f67f4bd9e683
IOS-1143 logging wrapped main session release
pEpObjCAdapter/PEPInternalSession.m
pEpObjCAdapter/PEPSessionProvider.m
     1.1 --- a/pEpObjCAdapter/PEPInternalSession.m	Wed Jul 04 13:21:53 2018 +0200
     1.2 +++ b/pEpObjCAdapter/PEPInternalSession.m	Wed Jul 04 13:21:53 2018 +0200
     1.3 @@ -45,6 +45,7 @@
     1.4  
     1.5  - (void)dealloc
     1.6  {
     1.7 +    NSLog(@"*** 0x%lu (dealloc)", (u_long) self);
     1.8      [PEPObjCAdapter unbindSession:self];
     1.9  
    1.10      [self lockWrite];
     2.1 --- a/pEpObjCAdapter/PEPSessionProvider.m	Wed Jul 04 13:21:53 2018 +0200
     2.2 +++ b/pEpObjCAdapter/PEPSessionProvider.m	Wed Jul 04 13:21:53 2018 +0200
     2.3 @@ -145,6 +145,8 @@
     2.4      }
     2.5  
     2.6      if (s_sessionForMainThread.object != nil) {
     2.7 +        NSLog(@"*** 0x%lu (niling s_sessionForMainThread)",
     2.8 +              (u_long) s_sessionForMainThread.object);
     2.9          s_sessionForMainThread.object = nil;
    2.10      }
    2.11