Skip to content

Commit

Permalink
Merge pull request #102 from raakella1/merge_stable
Browse files Browse the repository at this point in the history
Merge stable
  • Loading branch information
raakella1 committed Sep 10, 2024
2 parents f291194 + 4d72904 commit 0891062
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class NuRaftMesgConan(ConanFile):
name = "nuraft_mesg"
version = "3.5.10"
version = "3.5.11"

homepage = "https://github.com/eBay/nuraft_mesg"
description = "A gRPC service for NuRAFT"
Expand Down
4 changes: 3 additions & 1 deletion src/lib/manager_impl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ class engine_factory : public group_factory {

ManagerImpl::~ManagerImpl() {
if (_mesg_service) {
_grpc_server->shutdown();
// IMPORTANT: The order matters. nuraft can be using the grpc server that might crash the system if grpc server
// is shutdown first.
_mesg_service->shutdown();
_grpc_server->shutdown();
}
}

Expand Down

0 comments on commit 0891062

Please sign in to comment.