Hello ,
gRPC version : 1.0.0
9 pthreads are created during server startup (equivalent to the cores available). I am following the follwing sequence to shutdown the server :
- server_->shutdown()
- cq_0>shutdown()
The above sequence stops listening at the mentioned IP:Port combination but somehow isn't cleaning those existing pthreads even when streaming / GET request is in progress.
Please suggest if i am missing some shutdown step & also could you redirect me the relevant piece of code responsible for server shutdown. I checked server.cc, dynamic_thread_pool.cc all logic appears fine.
-Thanks
Shikha