diff options
-rw-r--r-- | MobileCydia.mm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm index ec4ba25..74ec4d2 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -7556,6 +7556,7 @@ freeing the view controllers on tab change */ } - (void) reloadData { +@synchronized (database_) { era_ = [database_ era]; NSArray *packages = [database_ packages]; @@ -7648,7 +7649,7 @@ freeing the view controllers on tab change */ target:self action:@selector(refreshButtonClicked) ] autorelease]]; -} +} } @end /* }}} */ |