|
@@ -761,7 +761,7 @@ class AccountSetupController: UITableViewController, ProgressAlertHandler {
|
|
preferredStyle: .safeActionSheet)
|
|
preferredStyle: .safeActionSheet)
|
|
|
|
|
|
alert.addAction(UIAlertAction(title: String.localized("delete_account"), style: .destructive, handler: { _ in
|
|
alert.addAction(UIAlertAction(title: String.localized("delete_account"), style: .destructive, handler: { _ in
|
|
- appDelegate.stopThreads()
|
|
|
|
|
|
+ self.dcContext.stopIo()
|
|
appDelegate.closeDatabase()
|
|
appDelegate.closeDatabase()
|
|
DatabaseHelper().clearAccountData()
|
|
DatabaseHelper().clearAccountData()
|
|
appDelegate.openDatabase()
|
|
appDelegate.openDatabase()
|