Commit 58246142 authored by Matthew Hausknecht's avatar Matthew Hausknecht

Removed exit after quit action.

parent 69859ac8
......@@ -300,7 +300,8 @@ void Agent::actionImpl() {
break;
case QUIT:
std::cout << "Got quit from agent." << std::endl;
exit(0);
handleExit();
return;
default:
std::cerr << "ERROR: Unsupported Action: "
<< requested_action << std::endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment