You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use 3001 instead of 1001 when destroying a websocket.
(cherry picked from commit b659cfbd53)
This commit is contained in:
committed by
Rémi Verschelde
parent
d20cf762b3
commit
1f080e203d
@@ -135,7 +135,7 @@ const GodotWebSocket = {
|
||||
if (!ref) {
|
||||
return;
|
||||
}
|
||||
GodotWebSocket.close(p_id, 1001, '');
|
||||
GodotWebSocket.close(p_id, 3001, 'destroyed');
|
||||
IDHandler.remove(p_id);
|
||||
ref.onopen = null;
|
||||
ref.onmessage = null;
|
||||
|
||||
Reference in New Issue
Block a user