diff options
Diffstat (limited to 'remoting/host/json_host_config.cc')
-rw-r--r-- | remoting/host/json_host_config.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/remoting/host/json_host_config.cc b/remoting/host/json_host_config.cc index 324b2d2..ecb54b9 100644 --- a/remoting/host/json_host_config.cc +++ b/remoting/host/json_host_config.cc @@ -40,6 +40,7 @@ void JsonHostConfig::Update(Task* task) { AutoLock auto_lock(lock_); task->Run(); } + delete task; message_loop_proxy_->PostTask( FROM_HERE, NewRunnableMethod(this, &JsonHostConfig::DoWrite)); } |