More of the thread infrastructure.

We can now run managed code on multiple threads.

Change-Id: Ia4ce9c94602773db238c967c15194a6db780d12f
diff --git a/src/runtime.cc b/src/runtime.cc
index a1157e6..706d793 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -40,9 +40,11 @@
   // Make sure our internal threads are dead before we start tearing down things they're using.
   delete signal_catcher_;
 
+  // Make sure all other threads have terminated too.
+  delete thread_list_;
+
   delete class_linker_;
   Heap::Destroy();
-  delete thread_list_;
   delete intern_table_;
   delete java_vm_;
   Thread::Shutdown();