Skip to content

Commit cfb0e4d

Browse files
committed
1 parent e64ca41 commit cfb0e4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Utilities/XMPPIDTracker.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ - (void)createTimerWithDispatchQueue:(dispatch_queue_t)queue
306306
dispatch_source_set_event_handler(timer, ^{ @autoreleasepool {
307307

308308
[self invokeWithObject:nil];
309-
309+
[self cancelTimer];
310+
310311
}});
311312

312313
dispatch_time_t tt = dispatch_time(DISPATCH_TIME_NOW, (timeout * NSEC_PER_SEC));

0 commit comments

Comments
 (0)