Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/rpcserver: stop the loop on shutdown
There's no sense in continuing the operation once the Runner has been stopped. If no new requests are coming, the loop goroutine may last a long time since it never actually interacts with the (possibly already closed) socket.
- Loading branch information