Make serialize() the very first call in delegate
This commit is contained in:
parent
ef03b2b94d
commit
76a3e48242
|
@ -451,8 +451,9 @@ extension OrganizerViewController: ConnectionServiceDelegate {
|
|||
}
|
||||
|
||||
func connectionService(didRemoveProfileWithKey key: ConnectionService.ProfileKey) {
|
||||
splitViewController?.serviceViewController?.hideProfileIfDeleted()
|
||||
TransientStore.shared.serialize() // delete
|
||||
|
||||
splitViewController?.serviceViewController?.hideProfileIfDeleted()
|
||||
}
|
||||
|
||||
// XXX: deactivate + activate leads to a redundant serialization
|
||||
|
|
Loading…
Reference in New Issue