]> Untitled Git - bitcoindevkit.org/commit
Fix the wallet's "stop button"
authorDaniela Brozzoni <danielabrozzoni@protonmail.com>
Wed, 14 Sep 2022 13:24:05 +0000 (15:24 +0200)
committerDaniela Brozzoni <danielabrozzoni@protonmail.com>
Thu, 6 Oct 2022 11:22:12 +0000 (12:22 +0100)
commitc3c4ddc92e67babe0951fc4eea3911ea7635e47d
tree7cff71ac197bd7d2b0c1d9a8d3881af5defd0e25
parent6bbc3d93f2aeb49b718b23f8106bd3bfcd260747
Fix the wallet's "stop button"

The stop button wouldn't work as it was calling `currentWallet.free()`,
which is not defined. Instead, assigning null to currentWallet and let
the garbage collector do its thing.
playground/src/index.js