We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4810a56 commit 5ef5cc6Copy full SHA for 5ef5cc6
src/runtime/js.zig
@@ -1497,6 +1497,9 @@ pub fn Env(comptime State: type, comptime WebApis: type) type {
1497
}
1498
1499
pub fn send(self: *const Inspector, msg: []const u8) void {
1500
+ var temp_scope: v8.HandleScope = undefined;
1501
+ v8.HandleScope.init(&temp_scope, self.isolate);
1502
+ defer temp_scope.deinit();
1503
self.session.dispatchProtocolMessage(self.isolate, msg);
1504
1505
0 commit comments