Changeset 201521 in webkit
- Timestamp:
- May 31, 2016, 1:32:21 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r201518 r201521 1 2016-05-31 Chris Dumez <cdumez@apple.com> 2 3 Regression(r201482): Crash under dispatch_semaphore_wait 4 https://bugs.webkit.org/show_bug.cgi?id=158230 5 <rdar://problem/26534698> 6 7 Reviewed by Eric Carlson. 8 9 Stop moving hasSessionSemaphore in the lambda capture since it is used in 10 dispatch_semaphore_wait() call after the callOnMainThread() call. 11 12 No new tests, already covered by tests that are crashing on the bots. 13 14 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm: 15 (-[WebAVStreamDataParserListener streamDataParser:didProvideContentKeyRequestInitializationData:forTrackID:]): 16 1 17 2016-05-31 Brady Eidson <beidson@apple.com> 2 18 -
trunk/Source/WebCore/platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm
r201482 r201521 276 276 277 277 OSObjectPtr<dispatch_semaphore_t> hasSessionSemaphore = adoptOSObject(dispatch_semaphore_create(0)); 278 callOnMainThread([protectedSelf = WTFMove(protectedSelf), protectedInitData = RetainPtr<NSData>(initData), trackID, hasSessionSemaphore = WTFMove(hasSessionSemaphore)] {278 callOnMainThread([protectedSelf = WTFMove(protectedSelf), protectedInitData = RetainPtr<NSData>(initData), trackID, hasSessionSemaphore] { 279 279 if (protectedSelf->_parent) 280 280 protectedSelf->_parent->didProvideContentKeyRequestInitializationDataForTrackID(protectedInitData.get(), trackID, hasSessionSemaphore);
Note:
See TracChangeset
for help on using the changeset viewer.