diff --git a/webssh/static/js/main.js b/webssh/static/js/main.js index b32a4e5..c4f2e95 100644 --- a/webssh/static/js/main.js +++ b/webssh/static/js/main.js @@ -529,7 +529,7 @@ jQuery(function($){ }; sock.onclose = function(e) { - term.destroy(); + term.dispose(); term = undefined; sock = undefined; reset_wssh();