this->save() in close()

This commit is contained in:
woodser
2019-08-22 22:43:26 -04:00
parent 7b0a03b818
commit e045bf378f
+1 -1
View File
@@ -2943,7 +2943,7 @@ namespace monero {
void monero_wallet::close(bool save) {
MTRACE("close()");
if (save) save();
if (save) this->save();
m_w2->callback(NULL);
stop_syncing(); // prevent sync thread from starting again
m_w2->stop();