diff --git a/django/frontend/static/js/api/Notice.js b/django/frontend/static/js/api/Notice.js index 43e1771..3fddc06 100644 --- a/django/frontend/static/js/api/Notice.js +++ b/django/frontend/static/js/api/Notice.js @@ -48,7 +48,11 @@ export default class Notice { stop() { if (this._socket) { - this._socket.close(); + try{ + this._socket.close(); + } + catch (e) + {} this._socket = undefined; } }