mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge remote-tracking branch 'origin/master' into 0.8.8update
Latest PR merged into experimental branch.
This commit is contained in:
commit
e995a7777a
1 changed files with 11 additions and 5 deletions
|
@ -1054,14 +1054,20 @@ int main(int argc, char* argv[])
|
|||
|
||||
std::vector<std::string> command = command_line::get_arg(vm, arg_command);
|
||||
if (!command.empty())
|
||||
{
|
||||
w.process_command(command);
|
||||
|
||||
tools::signal_handler::install([&w] {
|
||||
w.stop();
|
||||
});
|
||||
w.run();
|
||||
w.deinit();
|
||||
}
|
||||
else
|
||||
{
|
||||
tools::signal_handler::install([&w] {
|
||||
w.stop();
|
||||
});
|
||||
w.run();
|
||||
|
||||
w.deinit();
|
||||
w.deinit();
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
//CATCH_ENTRY_L0("main", 1);
|
||||
|
|
Loading…
Reference in a new issue