Index: runtime/include/dart_api.h |
=================================================================== |
--- runtime/include/dart_api.h (revision 28185) |
+++ runtime/include/dart_api.h (working copy) |
@@ -750,6 +750,13 @@ |
Dart_FileCloseCallback file_close); |
/** |
+ * Cleanup state in the VM before process termination. |
+ * |
+ * \return True if cleanup is successful. |
+ */ |
+DART_EXPORT bool Dart_Cleanup(); |
+ |
+/** |
* Sets command line flags. Should be called before Dart_Initialize. |
* |
* \param argc The length of the arguments array. |