mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: wrap EmitWarning with HandleScope (#23667)
This commit is contained in:
@@ -12,6 +12,7 @@ namespace electron {
|
||||
void EmitWarning(node::Environment* env,
|
||||
const std::string& warning_msg,
|
||||
const std::string& warning_type) {
|
||||
v8::HandleScope scope(env->isolate());
|
||||
gin::Dictionary process(env->isolate(), env->process_object());
|
||||
|
||||
base::RepeatingCallback<void(base::StringPiece, base::StringPiece,
|
||||
|
||||
Reference in New Issue
Block a user