[Playlist Controller] Remove unused function

Remove a leftover function from previous code.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
swiftingly
Christopher Snowhill 2022-06-18 23:01:11 -07:00
parent 901ba8d218
commit 84d0cbee3c
1 changed files with 0 additions and 8 deletions

View File

@ -228,14 +228,6 @@ static void *playlistControllerContext = &playlistControllerContext;
}
}
static inline void dispatch_sync_reentrant(dispatch_queue_t queue, dispatch_block_t block) {
if(dispatch_queue_get_label(queue) == dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL)) {
block();
} else {
dispatch_sync(queue, block);
}
}
- (void)commitPersistentStore {
NSError *error = nil;
[self.persistentContainer.viewContext save:&error];