commit 94fdd0b66df5a5d8c8a85dc191e5399ed4d9953d
parent 185d0c4fb944795dfd97c8ceeb2f92e2f1c9af07
Author: Jim Blandy <jimb@red-bean.com>
Date: Wed, 24 Dec 2025 00:26:18 +0000
Bug 2007600: Don't poll all devices from WebGPUParent::ActorDestroy. r=webgpu-reviewers,bradwerth
There is no need to call `wgpu_server_poll_all_devices` from
`mozilla::webgpu::WebGPUParent::ActorDestroy`, as the normal wgpu-core
shutdown handling will take care of giving all devices a final poll.
The `Drop` implementation for `wgpu_core::resource::queue::Queue`
tries to clean everything up while still tolerating a hung device.
Differential Revision: https://phabricator.services.mozilla.com/D277472
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/dom/webgpu/ipc/WebGPUParent.cpp b/dom/webgpu/ipc/WebGPUParent.cpp
@@ -1568,7 +1568,6 @@ void WebGPUParent::ActorDestroy(ActorDestroyReason aWhy) {
mRemoteTextureOwner = nullptr;
}
mActiveDeviceIds.Clear();
- ffi::wgpu_server_poll_all_devices(mContext.get(), true);
mContext = nullptr;
}