diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-29 13:02:01 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-29 23:24:56 +0000 |
commit | d68a63e40439850cfc66f8525b35986a6371fa47 (patch) | |
tree | 200f691c7fcadfa81169b92ec500a72d3100e219 /src/common/util.cpp | |
parent | Merge pull request #511 (diff) | |
download | monero-d68a63e40439850cfc66f8525b35986a6371fa47.tar.xz |
wallet: cancellable refresh
^C while in manual refresh will cancel the refresh, since that's
often an annoying thing to have to wait for. Also, a manual refresh
command will interrupt any running background refresh and take
over, rather than wait for the background refresh to be done, and
look to be hanging.
Diffstat (limited to 'src/common/util.cpp')
-rw-r--r-- | src/common/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.cpp b/src/common/util.cpp index 4c1b44004..371b55add 100644 --- a/src/common/util.cpp +++ b/src/common/util.cpp @@ -48,7 +48,7 @@ using namespace epee; namespace tools { - std::function<void(void)> signal_handler::m_handler; + std::function<void(int)> signal_handler::m_handler; #ifdef WIN32 std::string get_windows_version_display_string() |