This commit is contained in:
2024-05-15 16:36:44 +02:00
parent 8a8e2417c3
commit 6bc7270dfb
2 changed files with 3 additions and 3 deletions

View File

@ -47,10 +47,10 @@ export default class Notice {
};
}
stop() {
async stop() {
if (this._socket) {
while (!this._socket.OPEN)
sleep(100);
await sleep(100);
this._socket.close()
this._socket = undefined;
}