This commit is contained in:
starnakin 2024-05-15 16:45:05 +02:00
parent ac1e2151a9
commit bf0eea84a3

View File

@ -49,7 +49,7 @@ export default class Notice {
async stop() {
if (this._socket) {
while (!this._socket.OPEN)
while (!this._socket.readyState === 1)
await sleep(100);
this._socket.close()
this._socket = undefined;