aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-06-11 07:40:14 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2012-06-14 17:53:59 +0000
commit276cfd85304be27bb2c04c087c8f3ea25cb6f77d (patch)
treee22604dbe955365b7696b5da3473c854419edf18 /src/main.cpp
parent0b1fda6f6542a309d59f511ab1c417f891a7237b (diff)
downloadbitcoin-276cfd85304be27bb2c04c087c8f3ea25cb6f77d.tar.xz
Bugfix: Fix various places where Bitcoin-Qt was being shutdown improperly
(Partial/merge of upstream 9247134eaba9a1d0fa74f22de238af1476663005, 1a3f0da9229a8e524d1010cdc8bd3b9da71fe529, and 3e343522226e6c249f5cb05436eec347b87c6361)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 792bbe97a4..a28d2e802a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1666,7 +1666,7 @@ bool CheckDiskSpace(uint64 nAdditionalBytes)
strMiscWarning = strMessage;
printf("*** %s\n", strMessage.c_str());
ThreadSafeMessageBox(strMessage, "Bitcoin", wxOK | wxICON_EXCLAMATION);
- CreateThread(Shutdown, NULL);
+ StartShutdown();
return false;
}
return true;