Explicitly delete the wallet. Blocks the current thread until the wallet is destructed.
Declared in <wallet/wallet.h>
<wallet/wallet.h>
void WaitForDeleteWallet(std::shared_ptr<CWallet>&& wallet);