Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: b573336f9497c4e77211450aef0cc0ed18c3512e https://github.com/WebKit/WebKit/commit/b573336f9497c4e77211450aef0cc0ed18c3512e Author: Keith Miller <keith_mil...@apple.com> Date: 2025-03-06 (Thu, 06 Mar 2025)
Changed paths: M Source/WTF/wtf/text/cf/StringImplCF.cpp Log Message: ----------- StringWrapperCFAllocator::allocator should ensure the main thread's RunLoop is initialized. https://bugs.webkit.org/show_bug.cgi?id=289274 rdar://145650973 Reviewed by Yusuke Suzuki. Some users are seeing crashes where `RunLoop::main()` appears to return a `nullptr` while running `StringWrapperCFAllocator::deallocate`. It seems like someone should have initialized the main thread's RunLoop static variable already but it doesn't hurt to double check when getting the StringWrapperCFAllocator::allocator for the first time. This should speculatively fix the crashes. * Source/WTF/wtf/text/cf/StringImplCF.cpp: (WTF::StringWrapperCFAllocator::allocator): Canonical link: https://commits.webkit.org/291739@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes