Skip to content

[6-dev] event listeners leak on protocol disconnect #356

@stafyniaksacha

Description

@stafyniaksacha

Current Behavior

When a query is emitted by a protocol, an event listener is registered to handle the server answer (see here in abstract protocol)

The problem is that nothing discard pending, in memory, listeners when something wrong append with network

Possible Solution

Once listeners should be cleaned when a disconnection occurred.
It would be nice to let user to choose what to do at this point (replay request / silent discard / error request)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions