mirror of
https://github.com/phpv8/v8js.git
synced 2025-04-21 08:04:36 +00:00
Dispose isolate when freeing V8Js object.
This commit is contained in:
parent
1d8ae1f458
commit
03728d8bbd
3
v8js.cc
3
v8js.cc
@ -643,6 +643,9 @@ static void php_v8js_free_storage(void *object TSRMLS_DC) /* {{{ */
|
||||
}
|
||||
c->weak_closures.~map();
|
||||
|
||||
v8::Isolate *isolate = c->isolate;
|
||||
isolate->Dispose();
|
||||
|
||||
if(c->tz != NULL) {
|
||||
free(c->tz);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user