Merge remote-tracking branch 'origin/master' into 0.8.8update

Latest PR merged into experimental branch.
This commit is contained in:
mydesktop 2014-05-26 19:53:12 -04:00
commit e995a7777a

View File

@ -1054,8 +1054,13 @@ 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);
w.stop();
w.deinit();
}
else
{
tools::signal_handler::install([&w] {
w.stop();
});
@ -1063,6 +1068,7 @@ int main(int argc, char* argv[])
w.deinit();
}
}
return 1;
//CATCH_ENTRY_L0("main", 1);
}