clean up after cook
MODIFY
WalletWasabi/Wallets/Kitchen.cs
WalletWasabi/Wallets/Kitchen.cs
@@ -46,5 +46,14 @@ namespace WalletWasabi.Wallets
Soup = StringCipher.Encrypt(ingredients, Salt);
}
}
+
+ public void CleanUp()
+ {
+ lock (RefrigeratorLock)
+ {
+ Salt = null;
+ Soup = null;
+ }
+ }
}
}

MODIFY
WalletWasabi/Wallets/Wallet.cs
WalletWasabi/Wallets/Wallet.cs
@@ -103,7 +103,11 @@ namespace WalletWasabi.Wallets
IsLoggedIn = true;
}
- public void Logout() => IsLoggedIn = false;
+ public void Logout()
+ {
+ Kitchen.CleanUp();
+ IsLoggedIn = false;
+ }
public void RegisterServices(
BitcoinStore bitcoinStore,

clean up after cook