Chromium Code Reviews| Index: runtime/include/dart_api.h |
| diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h |
| index a75932ff615b58c366e39d3c773cea89ad62b0c1..efb521a283943a343b252b9e64a091ee391ee614 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 run Dart code. |
|
siva
2013/07/08 22:39:27
"safe to"
Cutch
2013/07/08 22:43:24
Done.
|
| * |
| * This function should be used to dispose of native resources that |
| * are allocated to an isolate in order to avoid leaks. |