--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAD2hskxdPYd5sYsFJDiaip5so3TrmvVECVmYFR4kG9f3it7Q1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hey... I would appreciate more information on the server shutdown problem.
grpc_init(); grpc::ServerBuilder builder; address = c3d::StringPrintf("0.0.0.0:%d", kPort); builder.AddListeningPort(address, grpc::InsecureServerCredentials()); builder.RegisterService(alerts); std::unique_ptr<grpc::Server> server(builder.BuildAndStart()); LOG(INFO) << "GRPC ALERTS listening on " << address; std::unique_ptr<ALERTS::Stub> stub = c3d::alerts::ALERTS::NewStub( grpc::CreateChannel(address, grpc::InsecureCredentials())); kStub = stub.get(); int retval = RUN_ALL_TESTS(); server->Shutdown(); server->Wait(); // Delete server and client before grpc_shutdown server.reset(nullptr); stub.reset(nullptr); grpc_shutdown()
...
We've merged that onto master. Will see that it's backported tomorrow to 0.12.
I'll try to reproduce the other problem tomorrow also.
Hey... I would appreciate more information on the server shutdown problem.Yaz - would something like this fix the problem you're seeing?