diff options
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/host/remoting_me2me_host.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/remoting/host/remoting_me2me_host.cc b/remoting/host/remoting_me2me_host.cc index f2bbac0..8ee29f8 100644 --- a/remoting/host/remoting_me2me_host.cc +++ b/remoting/host/remoting_me2me_host.cc @@ -1009,6 +1009,10 @@ void HostProcess::ShutdownHost(HostExitCodes exit_code) { switch (state_) { case HOST_INITIALIZING: + state_ = HOST_STOPPING; + ShutdownOnNetworkThread(); + break; + case HOST_STARTED: state_ = HOST_STOPPING; host_status_sender_->SendOfflineStatus(exit_code); |