diff --git a/xpcom/base/CycleCollectedJSContext.cpp b/xpcom/base/CycleCollectedJSContext.cpp index dc41421901..d92283fb20 100644 --- a/xpcom/base/CycleCollectedJSContext.cpp +++ b/xpcom/base/CycleCollectedJSContext.cpp @@ -1477,9 +1477,7 @@ CycleCollectedJSContext::AfterProcessMicrotasks() } // Cleanup Indexed Database transactions: // https://html.spec.whatwg.org/multipage/webappapis.html#perform-a-microtask-checkpoint - if(!mPendingIDBTransactions.IsEmpty()) { - CleanupIDBTransactions(RecursionDepth()); - } + CleanupIDBTransactions(RecursionDepth()); } uint32_t