rm needles __strong
authorbuff <andreas@pep-project.org>
Wed, 24 Jul 2019 10:04:00 +0200
changeset 10987e325f306580
parent 1078 bcdc0be31b68
child 1102 54cc9d70c27d
child 1113 de09ab2bfb66
child 1118 597cf4528850
child 1135 06aa7abea2b3
rm needles __strong
pEpObjCAdapter/PEPSessionProvider.m
     1.1 --- a/pEpObjCAdapter/PEPSessionProvider.m	Mon Jul 22 15:27:22 2019 +0200
     1.2 +++ b/pEpObjCAdapter/PEPSessionProvider.m	Wed Jul 24 10:04:00 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]; //???: BUFF: Why would this be weak?
     1.8 +    PEPInternalSession *newOrExistingSession = dict[currentThread];
     1.9      if (!newOrExistingSession) {
    1.10          newOrExistingSession = [PEPInternalSession new];
    1.11          dict[currentThread] = newOrExistingSession;