Title: [287318] branches/safari-612-branch/Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp
Revision
287318
Author
[email protected]
Date
2021-12-21 09:17:54 -0800 (Tue, 21 Dec 2021)

Log Message

Apply patch. rdar://86742929

Modified Paths


Diff

Modified: branches/safari-612-branch/Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp (287317 => 287318)


--- branches/safari-612-branch/Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp	2021-12-21 16:46:39 UTC (rev 287317)
+++ branches/safari-612-branch/Source/WTF/wtf/cocoa/WorkQueueCocoa.cpp	2021-12-21 17:17:54 UTC (rev 287318)
@@ -59,6 +59,9 @@
     dispatch_async(m_dispatchQueue.get(), dispatch_block_create_with_qos_class(DISPATCH_BLOCK_ENFORCE_QOS_CLASS, Thread::dispatchQOSClass(qos), 0, makeBlockPtr([function = WTFMove(function)] {
         function();
     }).get()));
+#if !__has_feature(objc_arc)
+    Block_release(blockWithQOS);
+#endif
 }
 
 void WorkQueue::dispatchAfter(Seconds duration, Function<void()>&& function)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to