aboutsummaryrefslogtreecommitdiffstats
path: root/teleterm
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-22 05:43:40 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-22 05:45:16 -0500
commit601a3bf1e085e3a28d0e91e3bd2f2d0de5b4ab62 (patch)
tree9de03c3ede083c13e258e052c77f529ab55810f0 /teleterm
parent03ee22f26b581c9571271af5ff00ebebb06b05f1 (diff)
downloadteleterm-601a3bf1e085e3a28d0e91e3bd2f2d0de5b4ab62.tar.gz
teleterm-601a3bf1e085e3a28d0e91e3bd2f2d0de5b4ab62.zip
don't manually disconnect on disconnect events
we only get the disconnect events after the disconnect happens, and in this particular case it's happening because we dropped the old connection to replace it with a new connection, and so manually clearing the current connection on a disconnect event will usually end up clearing the new connection
Diffstat (limited to 'teleterm')
-rw-r--r--teleterm/static/teleterm_web.js38
-rw-r--r--teleterm/static/teleterm_web_bg.wasmbin389883 -> 389782 bytes
2 files changed, 19 insertions, 19 deletions
diff --git a/teleterm/static/teleterm_web.js b/teleterm/static/teleterm_web.js
index c979271..f7b9436 100644
--- a/teleterm/static/teleterm_web.js
+++ b/teleterm/static/teleterm_web.js
@@ -20,23 +20,23 @@ function addHeapObject(obj) {
function __wbg_elem_binding0(arg0, arg1, arg2) {
wasm.__wbg_function_table.get(49)(arg0, arg1, addHeapObject(arg2));
}
-function __wbg_elem_binding1(arg0, arg1) {
- wasm.__wbg_function_table.get(174)(arg0, arg1);
+function __wbg_elem_binding1(arg0, arg1, arg2) {
+ wasm.__wbg_function_table.get(49)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding2(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(49)(arg0, arg1, addHeapObject(arg2));
+ wasm.__wbg_function_table.get(54)(arg0, arg1, arg2);
}
function __wbg_elem_binding3(arg0, arg1, arg2) {
wasm.__wbg_function_table.get(49)(arg0, arg1, addHeapObject(arg2));
}
-function __wbg_elem_binding4(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(244)(arg0, arg1, addHeapObject(arg2));
+function __wbg_elem_binding4(arg0, arg1) {
+ wasm.__wbg_function_table.get(174)(arg0, arg1);
}
function __wbg_elem_binding5(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(49)(arg0, arg1, addHeapObject(arg2));
+ wasm.__wbg_function_table.get(244)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding6(arg0, arg1, arg2) {
- wasm.__wbg_function_table.get(54)(arg0, arg1, arg2);
+ wasm.__wbg_function_table.get(49)(arg0, arg1, addHeapObject(arg2));
}
function __wbg_elem_binding7(arg0, arg1, arg2, arg3, arg4) {
wasm.__wbg_function_table.get(271)(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
@@ -871,16 +871,16 @@ function init(module) {
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
throw new Error(getStringFromWasm(arg0, arg1));
};
- imports.wbg.__wbindgen_closure_wrapper909 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper214 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding4(a, state.b, arg0);
+ return __wbg_elem_binding1(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(245)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(50)(a, state.b);
else state.a = a;
}
}
@@ -896,7 +896,7 @@ function init(module) {
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding5(a, state.b, arg0);
+ return __wbg_elem_binding0(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(50)(a, state.b);
else state.a = a;
@@ -907,14 +907,14 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper220 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper218 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding0(a, state.b, arg0);
+ return __wbg_elem_binding2(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(50)(a, state.b);
else state.a = a;
@@ -932,7 +932,7 @@ function init(module) {
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding2(a, state.b, arg0);
+ return __wbg_elem_binding3(a, state.b, arg0);
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(50)(a, state.b);
else state.a = a;
@@ -950,7 +950,7 @@ function init(module) {
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding1(a, state.b, );
+ return __wbg_elem_binding4(a, state.b, );
} finally {
if (--state.cnt === 0) wasm.__wbg_function_table.get(175)(a, state.b);
else state.a = a;
@@ -961,16 +961,16 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper214 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper909 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
const a = state.a;
state.a = 0;
try {
- return __wbg_elem_binding3(a, state.b, arg0);
+ return __wbg_elem_binding5(a, state.b, arg0);
} finally {
- if (--state.cnt === 0) wasm.__wbg_function_table.get(50)(a, state.b);
+ if (--state.cnt === 0) wasm.__wbg_function_table.get(245)(a, state.b);
else state.a = a;
}
}
@@ -979,7 +979,7 @@ function init(module) {
const ret = real;
return addHeapObject(ret);
};
- imports.wbg.__wbindgen_closure_wrapper218 = function(arg0, arg1, arg2) {
+ imports.wbg.__wbindgen_closure_wrapper220 = function(arg0, arg1, arg2) {
const state = { a: arg0, b: arg1, cnt: 1 };
const real = (arg0) => {
state.cnt++;
diff --git a/teleterm/static/teleterm_web_bg.wasm b/teleterm/static/teleterm_web_bg.wasm
index 3279e33..254392e 100644
--- a/teleterm/static/teleterm_web_bg.wasm
+++ b/teleterm/static/teleterm_web_bg.wasm
Binary files differ