Chromium Code Reviews| Index: base/threading/platform_thread_win.cc |
| diff --git a/base/threading/platform_thread_win.cc b/base/threading/platform_thread_win.cc |
| index e9752ba21394c671d1d84214e4cd65078bd940f3..ef0fb002849ccf0099a752fd265a609da2f6b11b 100644 |
| --- a/base/threading/platform_thread_win.cc |
| +++ b/base/threading/platform_thread_win.cc |
| @@ -76,6 +76,9 @@ DWORD __stdcall ThreadFunc(void* params) { |
| ThreadIdNameManager::GetInstance()->RemoveName( |
| platform_handle, |
| PlatformThread::CurrentId()); |
| + |
| + CloseHandle(platform_handle); |
|
zhaoqin
2013/11/28 16:07:33
Actually I am not sure this is the correct solutio
dsinclair
2013/11/28 16:13:40
Right, but the line immediately above:
ThreadId
zhaoqin
2013/11/28 16:25:41
I see, my bad.
dsinclair
2013/11/28 16:31:07
I don't think so, ThreadIdNameManager doesn't know
|
| + |
| return NULL; |
| } |