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

Unified Diff: remoting/webapp/base/js/application.js

Issue 1012073006: [Webapp Refactor] Removes the client plugin on disconnect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/crd/js/client_session.js » ('j') | remoting/webapp/crd/js/client_session.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/application.js
diff --git a/remoting/webapp/base/js/application.js b/remoting/webapp/base/js/application.js
index 82b64534c4a50a56a79271531acecc8fbb2c3b4e..77d6ff0a9ef10d1737ae31610b6945fe664b2ca2 100644
--- a/remoting/webapp/base/js/application.js
+++ b/remoting/webapp/base/js/application.js
@@ -219,8 +219,7 @@ remoting.Application.prototype.onClientStateChange_ = function(state) {
base.dispose(this.sessionConnectedHooks_);
this.sessionConnectedHooks_= null;
- remoting.clientSession.dispose();
- remoting.clientSession = null;
+ this.sessionConnector_.removePlugin();
garykac 2015/03/18 20:13:14 This doesn't just remove the plugin - it frees the
kelvinp 2015/03/18 20:43:36 Done.
};
/** @private */
« no previous file with comments | « no previous file | remoting/webapp/crd/js/client_session.js » ('j') | remoting/webapp/crd/js/client_session.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698