Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Commit

Permalink
fix: do not call unregister_rpc_handler when exiting progress (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyifan27 authored Feb 18, 2021
1 parent d3997dd commit 824b4d2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/failure_detector/failure_detector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ error_code failure_detector::stop()

_is_started = false;

close_service();

{
zauto_lock l(_lock);
for (auto &m : _masters) {
Expand Down
1 change: 0 additions & 1 deletion src/nfs/nfs_node_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ error_code nfs_node_simple::start()

error_code nfs_node_simple::stop()
{
_server->close_service();
delete _server;
_server = nullptr;

Expand Down

0 comments on commit 824b4d2

Please sign in to comment.