mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUAC-558: Do not trigger client onerror for tunnel onerror.
This commit is contained in:
@@ -142,11 +142,6 @@ Guacamole.Client = function(tunnel) {
|
|||||||
// Array of allocated output streams by index
|
// Array of allocated output streams by index
|
||||||
var output_streams = [];
|
var output_streams = [];
|
||||||
|
|
||||||
tunnel.onerror = function(status) {
|
|
||||||
if (guac_client.onerror)
|
|
||||||
guac_client.onerror(status);
|
|
||||||
};
|
|
||||||
|
|
||||||
function setState(state) {
|
function setState(state) {
|
||||||
if (state != currentState) {
|
if (state != currentState) {
|
||||||
currentState = state;
|
currentState = state;
|
||||||
|
Reference in New Issue
Block a user