mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Stop using the worker MainThreadTaskQueue from dom/fetch.
This commit is contained in:
parent
3b98b8ca9a
commit
73b9f505a1
2 changed files with 3 additions and 9 deletions
|
|
@ -260,7 +260,7 @@ FetchRequest(nsIGlobalObject* aGlobal, const RequestOrUSVString& aInput,
|
|||
}
|
||||
|
||||
RefPtr<MainThreadFetchRunnable> run = new MainThreadFetchRunnable(resolver, r);
|
||||
worker->DispatchToMainThread(run.forget());
|
||||
MOZ_ALWAYS_SUCCEEDS(NS_DispatchToMainThread(run));
|
||||
}
|
||||
|
||||
return p.forget();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue