rm needles __strong

IOSAD-114
buff 4 years ago
parent 9adcdf288e
commit bea7635e5a

@ -38,7 +38,7 @@ static PEPInternalSession *s_sessionForMainThread = nil;
[[self sessionForThreadLock] lock];
NSMutableDictionary<PEPCopyableThread*,PEPInternalSession*> *dict = [self sessionForThreadDict];
PEPCopyableThread *currentThread = [[PEPCopyableThread alloc] initWithThread:[NSThread currentThread]];
PEPInternalSession * __strong newOrExistingSession = dict[currentThread]; //???: BUFF: Why would this be weak?
PEPInternalSession *newOrExistingSession = dict[currentThread];
if (!newOrExistingSession) {
newOrExistingSession = [PEPInternalSession new];
dict[currentThread] = newOrExistingSession;

Loading…
Cancel
Save