Geth version: geth version
OS & Version: Windows/Linux/OSX
Commit hash : (if develop)
Expected behaviour
no goroutine leaks
Actual behaviour
all rpc call goroutine leaks
Steps to reproduce the behaviour
func testClientCancel(transport string, t *testing.T) {
server := newTestServer() // line 1
defer server.Stop()
// in a lambda, that will be called in new goroutine and a loop
err := client.CallContext(ctx, nil, "test_block") // line 2
func (s *testService) Block(ctx context.Context) error {
<-ctx.Done()
return errors.New("context canceled in testservice_block")
}
System information
Geth version:
geth version
OS & Version: Windows/Linux/OSX Commit hash : (ifdevelop
)Expected behaviour
no goroutine leaks
Actual behaviour
all rpc call goroutine leaks
Steps to reproduce the behaviour
Backtrace
Do we have any way to fix this issue? When submitting logs: please submit them as text and not screenshots.