1cd2ad79ec
Add framework for Dart_Cleanup which will cleanup stuff on exit. Ideally the VM isolate should be shutdown in Dart_Terminate but we don't seem to have a clean thread pool shutdown as a result of which there are racing isolates. R=iposva@google.com Review URL: https://codereview.chromium.org//25674009 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28248 260f80e4-7a28-3924-810f-c04153c831b5