Skip to content

Commit

Permalink
mgr: shutdown finisher in a graceful way
Browse files Browse the repository at this point in the history
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
xiexingguo committed Oct 17, 2016
1 parent 48d6515 commit ce6b190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mgr/Mgr.cc
Expand Up @@ -338,6 +338,7 @@ void Mgr::shutdown()

// Then stop the finisher to ensure its enqueued contexts aren't going
// to touch references to the things we're about to tear down
finisher.wait_for_empty();
finisher.stop();
}

Expand Down

0 comments on commit ce6b190

Please sign in to comment.