Commit 18d64fc1 authored by jiayl's avatar jiayl Committed by Commit bot

Fail early if rtc::Thread::WrapCurrent failed to get more information for debugging.

BUG=413853

Review URL: https://codereview.chromium.org/574153002

Cr-Commit-Position: refs/heads/master@{#295170}
parent cee48a5b
......@@ -57,7 +57,7 @@ JingleThreadWrapper::JingleThreadWrapper(
DCHECK(!rtc::Thread::Current());
weak_ptr_ = weak_ptr_factory_.GetWeakPtr();
rtc::MessageQueueManager::Add(this);
WrapCurrent();
CHECK(WrapCurrent());
}
JingleThreadWrapper::~JingleThreadWrapper() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment