fix Uncaught TypeError: Cannot read properties of undefined (reading 'closeCallBack')
Docker Image CI / build-and-push-image (push) Waiting to run
Maintain Release Merge PR / update-release-pr (push) Waiting to run
release-please / release-please (push) Waiting to run
test / test (18.x) (push) Waiting to run
test / test (20.x) (push) Waiting to run
test / test (22.x) (push) Waiting to run

This commit is contained in:
ProgrammerIn-wonderland
2025-02-13 23:22:58 -05:00
committed by Eric Dubé
parent 29834f02c0
commit cfa1447df6
@@ -27,7 +27,8 @@ export class PWispHandler {
this._continue()
break;
case CLOSE:
this.streamMap.get(parsed.streamID).closeCallBack(parsed.reason);
if (parsed.streamID !== 0)
this.streamMap.get(parsed.streamID).closeCallBack(parsed.reason);
break;
case INFO:
puterAuth && this._ws.send(createWispPacket({