|
|
@ -881,7 +881,8 @@ void StopRPCThreads() |
|
|
|
|
|
|
|
|
|
|
|
deadlineTimers.clear(); |
|
|
|
deadlineTimers.clear(); |
|
|
|
rpc_io_service->stop(); |
|
|
|
rpc_io_service->stop(); |
|
|
|
rpc_worker_group->join_all(); |
|
|
|
if (rpc_worker_group != NULL) |
|
|
|
|
|
|
|
rpc_worker_group->join_all(); |
|
|
|
delete rpc_worker_group; rpc_worker_group = NULL; |
|
|
|
delete rpc_worker_group; rpc_worker_group = NULL; |
|
|
|
delete rpc_ssl_context; rpc_ssl_context = NULL; |
|
|
|
delete rpc_ssl_context; rpc_ssl_context = NULL; |
|
|
|
delete rpc_io_service; rpc_io_service = NULL; |
|
|
|
delete rpc_io_service; rpc_io_service = NULL; |
|
|
|