Description
At the time of writing, Device::destroy does not directly invoke the DeviceLostCallback. You are required to call Device::poll to invoke the callback.
The documentation does not make this clear for the following reasons:
If anything, the documentation should be updated to clarify the semantics of how and where this callback gets invoked.
Platform
wgpu 29.0.0 (MacOS)