diff --git a/source/Ox.UI/js/Core/App.js b/source/Ox.UI/js/Core/App.js index cbe32bc0..da3c5220 100644 --- a/source/Ox.UI/js/Core/App.js +++ b/source/Ox.UI/js/Core/App.js @@ -52,7 +52,7 @@ Ox.App = function(options) { }; that.socket.onerror = function(event) { that.triggerEvent('error', event); - setTimeout(connectSocket, 1000) + that.socket.close(); }; that.socket.onclose = function(event) { that.triggerEvent('close', event);