diff options
author | Andreas Gampe <agampe@google.com> | 2015-10-26 20:47:28 -0700 |
---|---|---|
committer | The Android Automerger <android-build@android.com> | 2015-10-28 18:30:14 -0700 |
commit | 7f57e8c60ec31461151a8bfdd2b3fabfa78cb3f5 (patch) | |
tree | c38a3fc65deb8e28e8913a6c85129a6cb4560f7b /runtime/thread_list.cc | |
parent | 54d8f4bc810e7e0767f44cb77e5706a232b644bb (diff) | |
download | art-7f57e8c60ec31461151a8bfdd2b3fabfa78cb3f5.zip art-7f57e8c60ec31461151a8bfdd2b3fabfa78cb3f5.tar.gz art-7f57e8c60ec31461151a8bfdd2b3fabfa78cb3f5.tar.bz2 |
[WIP] ART: Write-protect TLS
Change-Id: I6762a3a30d01bd6eb8bb25f23f390c91147fe9b4
Diffstat (limited to 'runtime/thread_list.cc')
-rw-r--r-- | runtime/thread_list.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/thread_list.cc b/runtime/thread_list.cc index b697b43..7d49112 100644 --- a/runtime/thread_list.cc +++ b/runtime/thread_list.cc @@ -1148,7 +1148,7 @@ void ThreadList::Unregister(Thread* self) { } // We failed to remove the thread due to a suspend request, loop and try again. } - delete self; + Thread::DeleteThread(self); // Release the thread ID after the thread is finished and deleted to avoid cases where we can // temporarily have multiple threads with the same thread id. When this occurs, it causes |