aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2013-01-23 12:48:35 -0800
committerEric Lombrozo <elombrozo@gmail.com>2013-06-24 09:33:15 -0700
commite6fe8e77fb8816b8891a36467ba860d6b55934f4 (patch)
treeee36f329c8e36ef55667c17862702eb03d1e9bb2 /src/init.cpp
parente5cefb9be12009114e2f86e8b9a421951c41f02d (diff)
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index e88055bdea..f6b2c91b40 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -119,7 +119,7 @@ void Shutdown()
}
bitdb.Flush(true);
boost::filesystem::remove(GetPidFile());
- UnregisterWallet(pwalletMain);
+ UnregisterAllWallets();
delete pwalletMain;
}