| Index: runtime/include/dart_api.h
|
| diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
|
| index a75932ff615b58c366e39d3c773cea89ad62b0c1..ec79333d69a5e99be3245a8b6cb4c0af57f0ec72 100755
|
| --- a/runtime/include/dart_api.h
|
| +++ b/runtime/include/dart_api.h
|
| @@ -666,9 +666,9 @@ typedef void (*Dart_IsolateUnhandledExceptionCallback)(Dart_Handle error);
|
| /**
|
| * An isolate shutdown callback function.
|
| *
|
| - * This callback, provided by the embedder, is called after the vm
|
| - * shuts down an isolate. Since the isolate has been shut down, it is
|
| - * not safe to enter the isolate or use it to run any Dart code.
|
| + * This callback, provided by the embedder, is called before the vm
|
| + * shuts down an isolate. The isolate being shutdown will be the current
|
| + * isolate. It is safe to run Dart code.
|
| *
|
| * This function should be used to dispose of native resources that
|
| * are allocated to an isolate in order to avoid leaks.
|
|
|