Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Resume thread in MGLOfflineStorage::unpauseFileSource
Browse files Browse the repository at this point in the history
Fixes pause/resume bug introduced in #188
  • Loading branch information
alexshalamov committed Mar 26, 2020
1 parent 1dd9c9d commit 49011ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/darwin/src/MGLOfflineStorage.mm
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ - (void)unpauseFileSource:(__unused NSNotification *)notification {
return;
}

_mbglOnlineFileSource->pause();
_mbglDatabaseFileSource->pause();
_mbglOnlineFileSource->resume();
_mbglDatabaseFileSource->resume();
self.paused = NO;
}
#endif
Expand Down

0 comments on commit 49011ec

Please sign in to comment.