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) {
|
||||
term.destroy();
|
||||
term.dispose();
|
||||
term = undefined;
|
||||
sock = undefined;
|
||||
reset_wssh();
|
||||
|
|
Loading…
Reference in New Issue