We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01f911a + 100a4e0 commit 665515cCopy full SHA for 665515c
stdlib/public/Concurrency/Actor.cpp
@@ -256,8 +256,6 @@ void swift::runJobInEstablishedExecutorContext(Job *job) {
256
#if SWIFT_OBJC_INTEROP
257
objc_autoreleasePoolPop(pool);
258
#endif
259
-
260
- _swift_tsan_release(job);
261
}
262
263
void swift::adoptTaskVoucher(AsyncTask *task) {
stdlib/public/Concurrency/TaskPrivate.h
@@ -854,6 +854,8 @@ struct AsyncTask::PrivateStorage {
854
855
856
857
+ _swift_tsan_release(task);
858
+
859
// Destroy and deallocate any remaining task local items since the task is
860
// completed. We need to do this before we destroy the task local
861
// deallocator.
0 commit comments