mirror of
https://github.com/electron/electron.git
synced 2026-01-08 07:04:01 -05:00
perf: remove isolate scope from DidProcessTask() (#44439)
This commit is contained in:
@@ -17,7 +17,6 @@ void MicrotasksRunner::WillProcessTask(const base::PendingTask& pending_task,
|
||||
bool was_blocked_or_low_priority) {}
|
||||
|
||||
void MicrotasksRunner::DidProcessTask(const base::PendingTask& pending_task) {
|
||||
v8::Isolate::Scope scope(isolate_);
|
||||
// In the browser process we follow Node.js microtask policy of kExplicit
|
||||
// and let the MicrotaskRunner which is a task observer for chromium UI thread
|
||||
// scheduler run the microtask checkpoint. This worked fine because Node.js
|
||||
|
||||
Reference in New Issue
Block a user