Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(747)

Unified Diff: remoting/webapp/client_screen.js

Issue 12258030: Reload the web-app if an IT2Me connection fails. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/webapp/event_handlers.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/client_screen.js
diff --git a/remoting/webapp/client_screen.js b/remoting/webapp/client_screen.js
index 4e1952dc36b6f8e97c15548320d6c09978f2d874..377f4cb7dd64bfe2037a6f66ff5a682ded19cbe0 100644
--- a/remoting/webapp/client_screen.js
+++ b/remoting/webapp/client_screen.js
@@ -136,6 +136,7 @@ function onClientStateChange_(oldState, newState) {
showConnectError_(remoting.Error.MISSING_PLUGIN);
break;
}
+ remoting.clientSession.disconnect(false);
remoting.clientSession.removePlugin();
remoting.clientSession = null;
}
@@ -159,10 +160,6 @@ function showConnectError_(errorTag) {
} else {
remoting.setMode(remoting.AppMode.CLIENT_CONNECT_FAILED_ME2ME);
}
- if (remoting.clientSession) {
- remoting.clientSession.disconnect(false);
- remoting.clientSession = null;
- }
Jamie 2013/02/14 01:13:33 The only case where showConnectError is called wit
}
/**
« no previous file with comments | « no previous file | remoting/webapp/event_handlers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698