summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-25 07:29:01 +0000
committerweitaosu@chromium.org <weitaosu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-25 07:29:01 +0000
commit049940ab4599d4904c81dc4d9576022bbf8a6073 (patch)
tree08672958347202ac4b8f3c40cfab0014c77a684c /remoting
parent5d7ba2c5d71fd2e66438ada93bedb0a50c2db370 (diff)
downloadchromium_src-049940ab4599d4904c81dc4d9576022bbf8a6073.zip
chromium_src-049940ab4599d4904c81dc4d9576022bbf8a6073.tar.gz
chromium_src-049940ab4599d4904c81dc4d9576022bbf8a6073.tar.bz2
host_context_ shouldn't be freed while the the disconnection task is still running on the network thread.
BUG= Review URL: https://codereview.chromium.org/135653012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/plugin/host_script_object.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/remoting/host/plugin/host_script_object.cc b/remoting/host/plugin/host_script_object.cc
index 456ca50..2cbca57 100644
--- a/remoting/host/plugin/host_script_object.cc
+++ b/remoting/host/plugin/host_script_object.cc
@@ -508,7 +508,6 @@ bool HostNPScriptObject::Disconnect(const NPVariant* args,
if (it2me_host_.get()) {
it2me_host_->Disconnect();
it2me_host_ = NULL;
- host_context_.reset();
}
return true;