marks question IOSAD-124
authorbuff <andreas@pep-project.org>
Sun, 21 Jul 2019 18:27:58 +0200
branchIOSAD-124
changeset 1072a5b4592a4748
parent 1071 6be15a91521c
child 1073 81b106a91ee2
marks question
pEpObjCAdapter/PEPSessionProvider.m
     1.1 --- a/pEpObjCAdapter/PEPSessionProvider.m	Fri Jul 19 22:22:17 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSessionProvider.m	Sun Jul 21 18:27:58 2019 +0200
     1.3 @@ -38,7 +38,7 @@
     1.4      [[self sessionForThreadLock] lock];
     1.5      NSMutableDictionary<PEPCopyableThread*,PEPInternalSession*> *dict = [self sessionForThreadDict];
     1.6      PEPCopyableThread *currentThread = [[PEPCopyableThread alloc] initWithThread:[NSThread currentThread]];
     1.7 -    PEPInternalSession * __strong newOrExistingSession = dict[currentThread];
     1.8 +    PEPInternalSession * __strong newOrExistingSession = dict[currentThread]; //???: BUFF: Why would this be weak?
     1.9      if (!newOrExistingSession) {
    1.10          newOrExistingSession = [PEPInternalSession new];
    1.11          dict[currentThread] = newOrExistingSession;