Skip to content

Commit

Permalink
Update JSCTaskScheduler.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Aug 2, 2024
1 parent 7fcbf14 commit ffa3d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bun.js/bindings/JSCTaskScheduler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void JSCTaskScheduler::onAddPendingWork(Ref<TicketData>&& ticket, JSC::DeferredW
void JSCTaskScheduler::onScheduleWorkSoon(Ticket ticket, Task&& task)
{
auto* job = new JSCDeferredWorkTask(*ticket, WTFMove(task));
Bun__queueJSCDeferredWorkTaskConcurrently(WebCore::clientData(getVM(ticket))->bunVM, job);
Bun__queueJSCDeferredWorkTaskConcurrently(WebCore::clientData(job->vm())->bunVM, job);
}

void JSCTaskScheduler::onCancelPendingWork(Ticket ticket)
Expand Down

0 comments on commit ffa3d38

Please sign in to comment.