mirror of
https://github.com/HeyPuter/puter.git
synced 2026-09-23 05:36:12 +00:00
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
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:
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({
|
||||
|
||||
Reference in New Issue
Block a user