Index: remoting/host/security_key/security_key_auth_handler_posix.cc |
diff --git a/remoting/host/security_key/security_key_auth_handler_posix.cc b/remoting/host/security_key/security_key_auth_handler_posix.cc |
index 077542d6d4a0cfcf3a1c94fa77f8e48a8173939c..371ba3f1dfd2ae96a48ef730c3b3ab907e063ac6 100644 |
--- a/remoting/host/security_key/security_key_auth_handler_posix.cc |
+++ b/remoting/host/security_key/security_key_auth_handler_posix.cc |
@@ -152,6 +152,7 @@ SecurityKeyAuthHandlerPosix::SecurityKeyAuthHandlerPosix( |
weak_factory_(this) {} |
SecurityKeyAuthHandlerPosix::~SecurityKeyAuthHandlerPosix() { |
+ DCHECK(thread_checker_.CalledOnValidThread()); |
if (file_task_runner_) { |
// Attempt to clean up the socket before being destroyed. |
file_task_runner_->PostTask( |