Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6c86b501dc6d75696d6d30eb0170a174f0f9bda9
      
https://github.com/WebKit/WebKit/commit/6c86b501dc6d75696d6d30eb0170a174f0f9bda9
  Author: Jer Noble <[email protected]>
  Date:   2024-04-23 (Tue, 23 Apr 2024)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm

  Log Message:
  -----------
  [iOS] CRASH: exception thrown from AVVideoCaptureSource::stopSession()
https://bugs.webkit.org/show_bug.cgi?id=273088
rdar://126717672

Reviewed by Eric Carlson.

Crashtracer data shows that an exception is thrown from -[AVCaptureSession 
stopRunning] because that
method is called after -beginConfiguration, but before -commitConfiguration. 
Make this method robust
to that exception, and add our own ASSERT that we are not in the middle of 
configuration in order to
catch this case before it gets to AVCapture.

* Source/WebCore/platform/mediastream/mac/AVVideoCaptureSource.mm:
(WebCore::AVVideoCaptureSource::stopSession):

Canonical link: https://commits.webkit.org/277869@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