Chromium Code Reviews| Index: runtime/vm/dart_api_state.h |
| diff --git a/runtime/vm/dart_api_state.h b/runtime/vm/dart_api_state.h |
| index c714e0cc7c531b2c9e896918922fbd83d43ec85e..fb87b7edf2b457d92fa626c2cd606dd6bc2bf06b 100644 |
| --- a/runtime/vm/dart_api_state.h |
| +++ b/runtime/vm/dart_api_state.h |
| @@ -180,6 +180,7 @@ class FinalizablePersistentHandle { |
| ASSERT(!raw_->IsHeapObject()); |
| } |
| void FreeHandle(FinalizablePersistentHandle* free_list) { |
| + Clear(); |
| SetNext(free_list); |
| } |