mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-14 09:39:55 +00:00
don't call db_synchronize() on db_close for iOS
This commit is contained in:
parent
d71f9734b9
commit
4104e8ab47
@ -109,7 +109,9 @@ static void db_synchronize(void){
|
||||
static void db_close(void){
|
||||
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
db_synchronize();
|
||||
// don't call db_synchronize();
|
||||
// a) we're calling db_synchronize() after each change already
|
||||
// b) db_close is called during the SIGINT handler which causes a corrupt prefs file
|
||||
|
||||
[remote_devices release];
|
||||
remote_devices = nil;
|
||||
|
Loading…
x
Reference in New Issue
Block a user