Skip to content
This repository was archived by the owner on Mar 27, 2025. It is now read-only.

Commit ccefd78

Browse files
committed
bugfix in v2
1 parent 6b1f373 commit ccefd78

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/v2/core/Socket/SocketConnection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export class SocketConnection {
1515
private queueTimer: Timer = new Timer()
1616
protected WebSocket: WebSocketWrapper
1717
private callListener: (listenerId: string, params?: any[]) => any[]
18-
private connectionProgress: Transaction | null = new Transaction()
19-
private disconnectionProgress: Transaction | null = new Transaction()
18+
private connectionProgress: Transaction | null = null
19+
private disconnectionProgress: Transaction | null = null
2020

2121
constructor(url: string, callListener: (listenerId: string, params?: any[]) => any[], socketId: string) {
2222
this.socketId = socketId

src/v2/core/Stream/StreamConnection.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ export class StreamConnection {
1111
public socketId: string
1212
public streamId: string
1313
private callListener: (listenerId: string, params?: any[]) => any[]
14-
private connectionProgress: Transaction | null = new Transaction()
15-
private disconnectionProgress: Transaction | null = new Transaction()
14+
private connectionProgress: Transaction | null = null
15+
private disconnectionProgress: Transaction | null = null
1616

1717
constructor(url: string, session: string, callListener: (listenerId: string, params?: any[]) => any[], streamId: string, socketId: string) {
1818
this.session = session

0 commit comments

Comments
 (0)