From 8a8e2417c3ea1b8f5db000df0500d1c2d6ff4f9b Mon Sep 17 00:00:00 2001 From: starnakin Date: Wed, 15 May 2024 16:33:22 +0200 Subject: [PATCH] ba --- django/frontend/static/js/api/Notice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/frontend/static/js/api/Notice.js b/django/frontend/static/js/api/Notice.js index 049ce1b..ea4e739 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 { stop() { if (this._socket) { - while (this._socket.OPEN) + while (!this._socket.OPEN) sleep(100); this._socket.close() this._socket = undefined;