Chromium Code Reviews| Index: runtime/platform/thread_win.cc |
| diff --git a/runtime/platform/thread_win.cc b/runtime/platform/thread_win.cc |
| index d3712d299677cd600627b26835e0936528df5b3e..f4494aef0cf5d669987037cec4e9508a8236f23f 100644 |
| --- a/runtime/platform/thread_win.cc |
| +++ b/runtime/platform/thread_win.cc |
| @@ -293,6 +293,8 @@ void MonitorData::RemoveWaiter(MonitorWaitData* wait_data) { |
| ASSERT(previous != NULL); |
| previous->next_ = current->next_; |
| } |
| + // Clear next. |
| + wait_data->next_ = NULL; |
| break; |
| } |
| previous = current; |