Skip to content

Commit

Permalink
Fixed an issue which caused the iOS remote feature to sometimes not p…
Browse files Browse the repository at this point in the history
…air correctly
  • Loading branch information
Kapeli committed Jun 14, 2017
1 parent 455bf1e commit 9f9dd6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dash/DHRemoteServer.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@ - (void)setUp
self.remotes = [NSMutableArray array];
self.connections = [NSMutableDictionary dictionary];
self.lastDecryptFailDates = [NSMutableDictionary dictionary];
[self startServer];

dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
[self startServer];
});

Reachability *reach = [Reachability reachabilityForLocalWiFi];
reach.reachableOnWWAN = NO;
Expand Down

0 comments on commit 9f9dd6c

Please sign in to comment.