This commit is contained in:
yumoqing 2025-09-12 15:07:35 +08:00
parent 385ca8d97b
commit 87f99b35dd

View File

@ -28,6 +28,7 @@ bricks.Wterm = class extends bricks.JsWidget {
this.socket.onclose = null; this.socket.onclose = null;
this.socket = null; this.socket = null;
} catch(e) { } catch(e) {
this.socket = null;
console.log('e=', e); console.log('e=', e);
} }
} }
@ -37,6 +38,7 @@ bricks.Wterm = class extends bricks.JsWidget {
this.term.dispose(); this.term.dispose();
this.term = null; this.term = null;
} catch(e){ } catch(e){
this.term = null;
console.log('e=', e); console.log('e=', e);
} }
} }