| Index: webrtc/base/task_queue_win.cc
|
| diff --git a/webrtc/base/task_queue_win.cc b/webrtc/base/task_queue_win.cc
|
| index e2d19b431e69c1b942a2c33eaa75b8c6dc65e66c..e18c1f7a42c8f78d30917d6256875d79ece72eed 100644
|
| --- a/webrtc/base/task_queue_win.cc
|
| +++ b/webrtc/base/task_queue_win.cc
|
| @@ -62,13 +62,7 @@
|
| TaskQueue::~TaskQueue() {
|
| RTC_DCHECK(!IsCurrent());
|
| while (!PostThreadMessage(thread_.GetThreadRef(), WM_QUIT, 0, 0)) {
|
| - DWORD last_error = ::GetLastError();
|
| - if (last_error == ERROR_SUCCESS) {
|
| - // TODO(tommi): Figure out what's going on on the Win10 build bot when
|
| - // we get this error.
|
| - break;
|
| - }
|
| - RTC_CHECK_EQ(static_cast<DWORD>(ERROR_NOT_ENOUGH_QUOTA), last_error);
|
| + RTC_CHECK_EQ(static_cast<DWORD>(ERROR_NOT_ENOUGH_QUOTA), ::GetLastError());
|
| Sleep(1);
|
| }
|
| thread_.Stop();
|
|
|