test for not killing entire window when ws closes
This commit is contained in:
parent
a9f960a652
commit
f626a770e3
|
@ -215,7 +215,8 @@ const useSocket = (
|
|||
|
||||
ws.onclose = () => {
|
||||
clearTimeout(timeoutId);
|
||||
setError(true);
|
||||
//setError(true);
|
||||
setWs(null);
|
||||
console.log('[DEBUG] closed');
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue