Skip to content

Fix a crash in WebGPU when WebGPU is disabled - #30888

Merged
gterzian merged 1 commit into
servo:mainfrom
lucasMontenegro:webgpu-issue-30843
Dec 20, 2023
Merged

gterzian merged 1 commit into
servo:mainfrom
lucasMontenegro:webgpu-issue-30843

Conversation

@lucasMontenegro

Copy link
Copy Markdown
Contributor

  • There are tests for these changes OR
  • These changes do not require tests because ___

Signed-off-by: Lucas Fabián Montenegro <[email protected]>

@gterzian gterzian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your contribution!

@mrobinson mrobinson changed the title These changes fix #30843 Fix a crash in WebGPU when WebGPU is disabled Dec 19, 2023
@gterzian
gterzian self-requested a review December 20, 2023 05:48

@gterzian gterzian left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks for the contrib!

return warn!("Failed to send request adapter message on WebGPU channel");
}
FromScriptMsg::RequestAdapter(response_sender, options, ids) => match webgpu_chan {
None => warn!("Failed to send request adapter message, missing WebGPU channel"),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Filed a follow-up #30895

@gterzian
gterzian added this pull request to the merge queue Dec 20, 2023
Merged via the queue into servo:main with commit 256ab53 Dec 20, 2023
@lucasMontenegro

Copy link
Copy Markdown
Contributor Author

Thank you @gterzian 🥳🎉

@lucasMontenegro
lucasMontenegro deleted the webgpu-issue-30843 branch December 20, 2023 17:38
@gterzian

Copy link
Copy Markdown
Member

@lucasMontenegro You're welcome. We have a zullip chat by the way, in case you have any question: https://servo.zulipchat.com/

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.

Crash in WebGPU with WebGPU disabled

2 participants