Skip to content

panic: send on closed channel #5

@nepet

Description

@nepet

Encountered a really rare panic today (never before):
Go is complaining to send on a closed channel.

As this seems to be really really rare it is not urgent to fix this but I just wanted to document it here.

panic: send on closed channel
github.com/elementsproject/glightning/jrpc2.processResponse(0xc00074e140, 0xc0003b41b0)
	/home/****[redacted]/go/pkg/mod/github.com/elementsproject/glightning@v0.0.0-20220713160855-49a9a8ec3e4d/jrpc2/client.go:145 +0xfe
created by github.com/elementsproject/glightning/jrpc2.(*Client).readQueue
	/home/****[redacted]/go/pkg/mod/github.com/elementsproject/glightning@v0.0.0-20220713160855-49a9a8ec3e4d/jrpc2/client.go:120 +0x71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions