Skip to content

Commit

Permalink
加入一個假的停頓 讓在刪除歷史的時候好像真的有在刪 (順便測試個 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DaidoujiChen committed Apr 11, 2019
1 parent 639c6ca commit 8e74e8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dai-Hentai/Models/Couchbase/DBGallery.m
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ + (void)deleteAllHistories:(void (^)(NSInteger total, NSInteger index, HentaiInf
[document purgeDocument:nil];
});
}
[NSThread sleepForTimeInterval:0.5f];
}
dispatch_async(dispatch_get_main_queue(), ^{
if (finish) {
Expand Down

0 comments on commit 8e74e8f

Please sign in to comment.