diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 21:36:36 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 21:36:36 +0200 |
commit | 8d511f3c2486d22400cdd69c8d3640ee2d20aeff (patch) | |
tree | 664d762cfb275c55ea887fe7161bee9401263007 /src/wallet/wallet_rpc_server.cpp | |
parent | Merge pull request #2658 (diff) | |
parent | Fix compiler warnings with Clang 6.0.0. (diff) | |
download | monero-8d511f3c2486d22400cdd69c8d3640ee2d20aeff.tar.xz |
Merge pull request #2601
4d35ad76 Fix compiler warnings with Clang 6.0.0. (Vasil Dimov)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 4b5b1f84d..a048a53ae 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -2033,7 +2033,7 @@ just_dir: if (wal) wrpc.set_wallet(wal.release()); bool r = wrpc.init(&(vm.get())); CHECK_AND_ASSERT_MES(r, 1, tools::wallet_rpc_server::tr("Failed to initialize wallet rpc server")); - tools::signal_handler::install([&wrpc, &wal](int) { + tools::signal_handler::install([&wrpc](int) { wrpc.send_stop_signal(); }); LOG_PRINT_L0(tools::wallet_rpc_server::tr("Starting wallet rpc server")); |