We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b842ff0 commit 585cfc0Copy full SHA for 585cfc0
KeyManager/Domain/EditKeyStoreControlViewModel.cs
@@ -105,14 +105,17 @@ public bool IsLoadingKeyEntries
105
106
public RelayCommand SaveFavoriteCommand { get; }
107
108
- public void CloseKeyStore()
+ public Task CloseKeyStore()
109
{
110
- CloseKeyStore(true);
+ return CloseKeyStore(true);
111
}
112
113
- public void CloseKeyStore(bool navigate)
+ public async Task CloseKeyStore(bool navigate)
114
115
- KeyStore?.Close(true);
+ if (KeyStore != null)
116
+ {
117
+ await KeyStore.Close(true);
118
+ }
119
KeyStore = null;
120
_keModels.Clear();
121
Tabs.Clear();
0 commit comments