Skip to content

Commit 7685e7d

Browse files
committed
refactor: Call uninit in stop function
1 parent e987fcf commit 7685e7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mutiny-wasm/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ impl MutinyWallet {
500500
#[wasm_bindgen]
501501
pub async fn stop(&mut self) -> Result<(), MutinyJsError> {
502502
// Ok(self.inner.node_manager.stop().await?)
503+
uninit();
503504
Ok(self.inner.stop().await?)
504505
}
505506

0 commit comments

Comments
 (0)