bugfix
This commit is contained in:
parent
385ca8d97b
commit
87f99b35dd
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user