Reset onLogs subscriptions when websocket disconnects
This commit is contained in:
committed by
Steven Luscher
parent
781094edb2
commit
4dd3987451
@ -4154,6 +4154,9 @@ export class Connection {
|
|||||||
Object.values(this._accountChangeSubscriptions).forEach(
|
Object.values(this._accountChangeSubscriptions).forEach(
|
||||||
s => (s.subscriptionId = null),
|
s => (s.subscriptionId = null),
|
||||||
);
|
);
|
||||||
|
Object.values(this._logsSubscriptions).forEach(
|
||||||
|
s => (s.subscriptionId = null),
|
||||||
|
);
|
||||||
Object.values(this._programAccountChangeSubscriptions).forEach(
|
Object.values(this._programAccountChangeSubscriptions).forEach(
|
||||||
s => (s.subscriptionId = null),
|
s => (s.subscriptionId = null),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user