projects
/
platform
/
upstream
/
v8.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19b62e2
)
[d8] Make Realm.dispose() trigger a ContextDisposedNotification
author
jkummerow
<jkummerow@chromium.org>
Tue, 5 May 2015 14:25:20 +0000
(07:25 -0700)
committer
Commit bot
<commit-bot@chromium.org>
Tue, 5 May 2015 14:25:25 +0000
(14:25 +0000)
Review URL: https://codereview.chromium.org/
1129543002
Cr-Commit-Position: refs/heads/master@{#28230}
src/d8.cc
patch
|
blob
|
history
diff --git
a/src/d8.cc
b/src/d8.cc
index
75bbf1d
..
7a300ef
100644
(file)
--- a/
src/d8.cc
+++ b/
src/d8.cc
@@
-501,6
+501,8
@@
void Shell::RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args) {
return;
}
data->realms_[index].Reset();
+ isolate->ContextDisposedNotification();
+ isolate->IdleNotificationDeadline(g_platform->MonotonicallyIncreasingTime());
}