Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5fcb6384dc2cf8aa9948fc042b8fa2591fefe36
      
https://github.com/WebKit/WebKit/commit/f5fcb6384dc2cf8aa9948fc042b8fa2591fefe36
  Author: Alex Christensen <[email protected]>
  Date:   2025-02-03 (Mon, 03 Feb 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/ModelElementControllerCocoa.mm

  Log Message:
  -----------
  Fix crash in ASVInlinePreview
https://bugs.webkit.org/show_bug.cgi?id=286970
rdar://144124278

Reviewed by Charlie Wolfe.

On macOS ASVInlinePreview will dereference null if it is destroyed before the 
callback.
To prevent this in our use, keep a strong reference.
I filed a radar and notified the author, but I'd like our crash to go away.

* Source/WebKit/UIProcess/Cocoa/ModelElementControllerCocoa.mm:
(WebKit::ModelElementController::modelElementLoadRemotePreview):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to