Skip to content

Keyper hanging on websocket disconnect #649

@ylembachar

Description

@ylembachar

We identified a few places in which goroutines might block without listening for context cancellations:

At some places in which we send something to a channel, it seems we might block, but since the involved channels are unbounded it should not cause any issues (still cleaner to fix in my opinion):

Some parts of unused codes are also susceptible:

chann <- notification
(blocking channel send),
func StartNewBroker[T any](nonBlocking bool) *Broker[T] {
(goroutine without cancel context)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions