Skip to content

Commit 323af07

Browse files
committed
Delete test messages sent after background task expiration
1 parent 99a869f commit 323af07

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Multihop/MHConnectionsHandler.m

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,6 @@ - (void)sendBackgroundSignal:(MHConnectionsHandler * __weak)weakSelf
7474

7575
[buf setStatus:MHConnectionBufferBroken];
7676
}
77-
78-
79-
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(4000 * NSEC_PER_MSEC)), dispatch_get_main_queue(), ^{
80-
NSError* error1;
81-
[weakSelf sendData:[@"bla1" dataUsingEncoding:NSUTF8StringEncoding]
82-
toPeers:weakSelf.buffers.allKeys
83-
error:&error1];
84-
85-
NSError* error2;
86-
[weakSelf sendData:[@"bla2" dataUsingEncoding:NSUTF8StringEncoding]
87-
toPeers:weakSelf.buffers.allKeys
88-
error:&error2];
89-
90-
NSError* error3;
91-
[weakSelf sendData:[@"bla3" dataUsingEncoding:NSUTF8StringEncoding]
92-
toPeers:weakSelf.buffers.allKeys
93-
error:&error3];
94-
});
9577
}
9678

9779
- (void)dealloc

0 commit comments

Comments
 (0)