diff options
| author | Philip Kaufmann <[email protected]> | 2012-06-11 07:40:14 +0200 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-06-14 17:53:59 +0000 |
| commit | 276cfd85304be27bb2c04c087c8f3ea25cb6f77d (patch) | |
| tree | e22604dbe955365b7696b5da3473c854419edf18 /src/main.cpp | |
| parent | Don't call exit() in Shutdown() for Bitcoin-Qt (fixes a tray-icon issue) (diff) | |
| download | discoin-276cfd85304be27bb2c04c087c8f3ea25cb6f77d.tar.xz discoin-276cfd85304be27bb2c04c087c8f3ea25cb6f77d.zip | |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 792bbe97a..a28d2e802 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; |