Skip to content

Commit

Permalink
Change pika exit way
Browse files Browse the repository at this point in the history
  • Loading branch information
CatKang committed Mar 23, 2016
1 parent ac039d3 commit a0b16b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pika_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,6 @@ void ShutdownCmd::DoInitial(PikaCmdArgsType &argv, const CmdInfo* const ptr_info
// no return
void ShutdownCmd::Do() {
DLOG(WARNING) << "handle \'shutdown\'";
g_pika_server->mutex_.Unlock();
g_pika_server->Exit();
res_.SetRes(CmdRes::kNone);
}

0 comments on commit a0b16b4

Please sign in to comment.