From 04cc497aba07201be46acf8823179a438084b284 Mon Sep 17 00:00:00 2001 From: jkummerow Date: Tue, 5 May 2015 07:25:20 -0700 Subject: [PATCH] [d8] Make Realm.dispose() trigger a ContextDisposedNotification Review URL: https://codereview.chromium.org/1129543002 Cr-Commit-Position: refs/heads/master@{#28230} --- src/d8.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d8.cc b/src/d8.cc index 75bbf1d..7a300ef 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -501,6 +501,8 @@ void Shell::RealmDispose(const v8::FunctionCallbackInfo& args) { return; } data->realms_[index].Reset(); + isolate->ContextDisposedNotification(); + isolate->IdleNotificationDeadline(g_platform->MonotonicallyIncreasingTime()); } -- 2.7.4