diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 48e98264d..6641dab09 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -306,7 +306,9 @@ async function withWallet<T>( return w.handleCoreApiRequest(operation, "my-req", payload); }, }; - return await f(ctx); + const result = await f(ctx); + w.stop(); + return result; } } |