commit | 534da072d3db3beecbd74e5aa23d630d73695f2c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Mar 27 15:17:42 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Tue Mar 27 15:17:42 2012 -0700 |
tree | 7967a15e2a3963d02fd0853e0d3c1941db4c635e | |
parent | 22869a9026a08b544eca4cefd67386d347e30d2c [diff] |
Reinstate code accidentally removed while moving it from ThreadList to Thread. Change-Id: I640741a4a64bccb408ac8c053a3538588fa9a8e1
diff --git a/src/thread.cc b/src/thread.cc index 8bd7bc2..aee684b 100644 --- a/src/thread.cc +++ b/src/thread.cc
@@ -985,6 +985,12 @@ if (peer_ != NULL) { Thread* self = this; + // We may need to call user-supplied managed code. + SetState(Thread::kRunnable); + + HandleUncaughtExceptions(); + RemoveFromThreadGroup(); + // this.vmData = 0; SetVmData(peer_, NULL);