diff --git a/src/failure_detector/failure_detector.cpp b/src/failure_detector/failure_detector.cpp index 0e73afdac6..3353239981 100644 --- a/src/failure_detector/failure_detector.cpp +++ b/src/failure_detector/failure_detector.cpp @@ -108,8 +108,6 @@ error_code failure_detector::stop() _is_started = false; - close_service(); - { zauto_lock l(_lock); for (auto &m : _masters) { diff --git a/src/nfs/nfs_node_impl.cpp b/src/nfs/nfs_node_impl.cpp index 41ecc4dd5c..4712eaba5a 100644 --- a/src/nfs/nfs_node_impl.cpp +++ b/src/nfs/nfs_node_impl.cpp @@ -64,7 +64,6 @@ error_code nfs_node_simple::start() error_code nfs_node_simple::stop() { - _server->close_service(); delete _server; _server = nullptr;