| Index: runtime/vm/thread.cc
|
| diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
|
| index 069d2d51c349a212b2e868ba3c56199dd97851e0..7e426698f24cce4022eaed64a577475ccd629a98 100644
|
| --- a/runtime/vm/thread.cc
|
| +++ b/runtime/vm/thread.cc
|
| @@ -165,16 +165,6 @@ void Thread::EnsureInit() {
|
| }
|
|
|
|
|
| -#if defined(TARGET_OS_WINDOWS)
|
| -void Thread::CleanUp() {
|
| - Thread* current = Current();
|
| - if (current != NULL) {
|
| - SetCurrent(NULL);
|
| - delete current;
|
| - }
|
| -}
|
| -#endif
|
| -
|
| #if defined(DEBUG)
|
| #define REUSABLE_HANDLE_SCOPE_INIT(object) \
|
| reusable_##object##_handle_scope_active_(false),
|
| @@ -537,15 +527,5 @@ Thread* ThreadIterator::Next() {
|
| return current;
|
| }
|
|
|
| -#if defined(TARGET_OS_WINDOWS)
|
| -// This function is invoked by |OnThreadExit| found in os_thread_win.cc.
|
| -void ThreadCleanupOnExit() {
|
| - // Windows does not support TLS destructors (see os_thread_win.cc for
|
| - // context). As a work around, we maintain a list of functions to be
|
| - // executed when a thread exits in |OnThreadExit| in os_thread_win.cc.
|
| - Thread::CleanUp();
|
| -}
|
| -#endif
|
| -
|
|
|
| } // namespace dart
|
|
|