diff --git a/accessible/ipc/DocAccessibleParent.cpp b/accessible/ipc/DocAccessibleParent.cpp index c2baa2613f7d..a63f6b715085 100644 --- a/accessible/ipc/DocAccessibleParent.cpp +++ b/accessible/ipc/DocAccessibleParent.cpp @@ -476,6 +476,10 @@ mozilla::ipc::IPCResult DocAccessibleParent::RecvScrollingEvent( mozilla::ipc::IPCResult DocAccessibleParent::RecvCache( const mozilla::a11y::CacheUpdateType& aUpdateType, nsTArray&& aData, const bool& aFinal) { + if (mShutdown) { + return IPC_OK(); + } + for (auto& entry : aData) { RemoteAccessible* remote = GetAccessible(entry.ID()); if (!remote) {