Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: webrtc/base/thread.cc

Issue 2706843002: Fix clang style warnings in webrtc/base/thread.h (Closed)
Patch Set: Remove compile-test code. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/thread.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/thread.cc
diff --git a/webrtc/base/thread.cc b/webrtc/base/thread.cc
index ed0c44674183e5c141a7638953446a89ec07b65a..a0e059b87a37862722d6439d3d1339893ed2e3db 100644
--- a/webrtc/base/thread.cc
+++ b/webrtc/base/thread.cc
@@ -571,6 +571,10 @@ void ComThread::Run() {
LOG(LS_ERROR) << "CoInitialize failed, hr=" << hr;
}
}
+
+ComThread::~ComThread() {
tommi 2017/02/20 12:13:08 nit: methods in the .cc file should be in the same
+ Stop();
+}
#endif
} // namespace rtc
« no previous file with comments | « webrtc/base/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698