bababoy
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user