diff --git a/django/frontend/static/js/api/Notice.js b/django/frontend/static/js/api/Notice.js index a296d1a..66c9cb7 100644 --- a/django/frontend/static/js/api/Notice.js +++ b/django/frontend/static/js/api/Notice.js @@ -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;