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

Unified Diff: webrtc/base/thread.h

Issue 1666863002: Fix race between Thread ctor/dtor and MessageQueueManager registrations. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added comment to MessageQueue constructor. Created 4 years, 11 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
Index: webrtc/base/thread.h
diff --git a/webrtc/base/thread.h b/webrtc/base/thread.h
index f91aa56733cb82a880adf6c35ae43114c712fe07..f03bf3839275948876f4867d12622eabe18a1a2c 100644
--- a/webrtc/base/thread.h
+++ b/webrtc/base/thread.h
@@ -297,7 +297,7 @@ class AutoThread : public Thread {
class ComThread : public Thread {
public:
ComThread() {}
- virtual ~ComThread() { Stop(); }
+ ~ComThread() override;
protected:
virtual void Run();

Powered by Google App Engine
This is Rietveld 408576698