mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
No issue - Turn worker runnable assertion into something harmless in debug builds
It's annoying.
This commit is contained in:
parent
147713a6ac
commit
41eb02d1e1
1 changed files with 3 additions and 3 deletions
|
|
@ -242,9 +242,9 @@ WorkerRunnable::Run()
|
|||
// underlying WorkerThreadPrimaryRunnable active, which means we should
|
||||
// find a CycleCollectedJSContext.
|
||||
if (!CycleCollectedJSContext::Get()) {
|
||||
MOZ_DIAGNOSTIC_ASSERT(false,
|
||||
"A WorkerRunnable was executed after "
|
||||
"WorkerThreadPrimaryRunnable ended.");
|
||||
NS_ASSERTION(false,
|
||||
"A WorkerRunnable was executed after "
|
||||
"WorkerThreadPrimaryRunnable ended.");
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue