Branch: refs/heads/master
Home: https://github.com/btcsuite/btcwallet
Commit: 2b79aad79c04768a293fc715e346235b04dafd8b
https://github.com/btcsuite/btcwallet/commit/2b79aad79c04768a293fc715e346235b04dafd8b
Author: Josh Rickmar <[email protected]>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M btcwallet.go
M rpc/rpcserver/server.go
M wallet/loader.go
M walletsetup.go
Log Message:
-----------
Stop wallet and close wallet DB on interrupt.
This corrects and simplifies the shutdown logic for interrupts, the
walletrpc.WalletLoaderService/CloseWallet RPC, and the legacy stop RPC
by both stopping all wallet processes and closing the wallet database.
It appears that this behavior broke as part of the wallet package
refactor, causing occasional nil pointer panics and memory faults when
closing the wallet database with active transactions.
Fixes #282.
Fixes #283.