Use 3001 instead of 1001 when destroying a websocket. -  jasonwinterpixel
1f080e203d
This commit is contained in:
Relintai 2022-07-25 19:00:33 +02:00
parent a4e1126d45
commit e8f8904e56

View File

@ -135,7 +135,7 @@ const PandemoniumWebSocket = {
if (!ref) {
return;
}
PandemoniumWebSocket.close(p_id, 1001, '');
PandemoniumWebSocket.close(p_id, 3001, '');
IDHandler.remove(p_id);
ref.onopen = null;
ref.onmessage = null;