mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Don't disconnect from the websocket when updating the server object state
This commit is contained in:
parent
6966530165
commit
058f72c923
@ -45,11 +45,6 @@ export default () => {
|
||||
setInstance(socket);
|
||||
})
|
||||
.catch(error => console.error(error));
|
||||
|
||||
return () => {
|
||||
socket && socket.close();
|
||||
instance && instance!.removeAllListeners();
|
||||
};
|
||||
}, [ server ]);
|
||||
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user