[remoting][host] Don't send host offline reason for host deletion
When the host receives a deletion notification from directory, it tries to send an invalid host ID offline reason to directory before shutting itself down. This is likely to fail since the backend might have already unregistered the robot account. Then the host will keep trying to send the offline reason a few times until it eventually gives up. Sending offline reason for host deleted on the directory is unnecessary and will delay the host shutdown process, so this CL prevents the host from sending the offline reason in this case. Bug: 968859 Change-Id: I2de39b5426f52c3e3db05af92e00ec68a4dd9206 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1678700 Commit-Queue: Joe Downing <joedow@chromium.org> Reviewed-by:Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#672758}
Showing
Please register or sign in to comment