File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,6 @@ - (void)removeDatabaseOnDatabaseQueueAtPath:(NSString *)path {
286
286
if (!strongSelf) {
287
287
return ;
288
288
}
289
- RCN_MUST_NOT_BE_MAIN_THREAD ();
290
289
if (sqlite3_close (strongSelf->_database ) != SQLITE_OK) {
291
290
[self logDatabaseError ];
292
291
}
Original file line number Diff line number Diff line change @@ -224,8 +224,7 @@ - (void)setUp {
224
224
}
225
225
226
226
- (void )tearDown {
227
- // Causes crash if main thread exits before the RCNConfigDB queue cleans up
228
- // [_DBManager removeDatabaseOnDatabaseQueueAtPath:_DBPath];
227
+ [_DBManager removeDatabaseOnDatabaseQueueAtPath: _DBPath];
229
228
[[NSUserDefaults standardUserDefaults ] removePersistentDomainForName: _userDefaultsSuiteName];
230
229
[super tearDown ];
231
230
}
You can’t perform that action at this time.
0 commit comments