[webkit-changes] [WebKit/WebKit] 100477: [WebGPU] WebGPU::setUncapturedScopeCallback may cr...

mwyrzykowski noreply at github.com
Wed Feb 28 20:39:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1004779ce3c402ed769206fca5fe2cc835723a1d
      https://github.com/WebKit/WebKit/commit/1004779ce3c402ed769206fca5fe2cc835723a1d
  Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M Source/WebGPU/WebGPU/Device.mm

  Log Message:
  -----------
  [WebGPU] WebGPU::setUncapturedScopeCallback may crash if repeatedly invoked
https://bugs.webkit.org/show_bug.cgi?id=270244
<radar://123745437>

Reviewed by Dan Glastonbury.

We can only call this once, so null-out the callback
after it has been called.

* Source/WebGPU/WebGPU/Device.mm:
(WebGPU::Device::generateAValidationError):

Canonical link: https://commits.webkit.org/275478@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list