Skip to content

Conversation

@devsnek
Copy link
Member

@devsnek devsnek commented Oct 3, 2025

this loop doesn't inherently stop running when the isolate stops running, so use the isolate task spawner to ensure logic only runs when the event loop is still running. it would be nice to move this logic inside the DeviceErrorHandler (we could get rid of the task loop!) but it creates a cyclic dependency on the device object which was annoying to think about.

@devsnek devsnek requested a review from crowlKats October 3, 2025 07:33
Copy link
Member

@crowlKats crowlKats left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@devsnek devsnek merged commit d49dda3 into main Oct 4, 2025
19 checks passed
@devsnek devsnek deleted the fix-wgpu-panic branch October 4, 2025 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants