The chromoting client logs a session-close that was

initiated by the client itself.

BUG=106208

Review URL: http://codereview.chromium.org/8772065

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112819 0039d316-1c4b-4281-b951-d872f2087c98
parent 0427c17d
......@@ -202,6 +202,11 @@ remoting.ClientSession.prototype.removePlugin = function() {
* @return {void} Nothing.
*/
remoting.ClientSession.prototype.disconnect = function() {
// The plugin won't send a state change notification, so we explicitly log
// the fact that the connection has closed.
this.logToServer.logClientSessionStateChange(
remoting.ClientSession.State.CLOSED,
remoting.ClientSession.ConnectionError.NONE);
if (remoting.wcs) {
remoting.wcs.setOnIq(function(stanza) {});
this.sendIq_(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment