mirror of https://github.com/huashengdun/webssh
Fixed term.destroy renamed to dispose.
parent
e2739a6829
commit
d47cefee78
|
@ -529,7 +529,7 @@ jQuery(function($){
|
||||||
};
|
};
|
||||||
|
|
||||||
sock.onclose = function(e) {
|
sock.onclose = function(e) {
|
||||||
term.destroy();
|
term.dispose();
|
||||||
term = undefined;
|
term = undefined;
|
||||||
sock = undefined;
|
sock = undefined;
|
||||||
reset_wssh();
|
reset_wssh();
|
||||||
|
|
Loading…
Reference in New Issue