You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a component is unmounted, XTerm.tsx calls this.terminal.dispose(). As part of this call, xterm.js sets _isDisposed = true and destroys its .write() call.
Thereafter, all calls to .write() will silently fail.
I have an issue open at xtermjs/xterm.js#3939 to address this, but I suspect this may be the wrong approach to take to unhook key handlers.
The text was updated successfully, but these errors were encountered:
Description
When a component is unmounted,
XTerm.tsx
callsthis.terminal.dispose()
. As part of this call, xterm.js sets_isDisposed = true
and destroys its.write()
call.Thereafter, all calls to
.write()
will silently fail.I have an issue open at xtermjs/xterm.js#3939 to address this, but I suspect this may be the wrong approach to take to unhook key handlers.
The text was updated successfully, but these errors were encountered: