Skip to content

Commit 354d061

Browse files
committed
re-enable executor_deinit1.swift
I put this test in originally XFAIL'd because the deinit for the actor was not being run before program exit. It was expected to run because it's not top-level code so there is a release of the object before returning from RunIt.main. My guess is that the root cause of the original bug of it not running the deinit was because of the "executor stickiness" that was present in Swift concurrency prior to SE-338. Today it seems that this isn't an issue so we may as well have this test back. resolves rdar://77397981 resolves #56817
1 parent 93e209c commit 354d061

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/Concurrency/Runtime/executor_deinit1.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
// REQUIRES: concurrency_runtime
77
// UNSUPPORTED: back_deployment_runtime
88

9-
// https://github.com/apple/swift/issues/56817
10-
// UNSUPPORTED: OS=linux-gnu
11-
12-
// REQUIRES: rdar78325660
13-
149
// doesn't matter that it's bool identity function or not
1510
func boolIdentityFn(_ x : Bool) -> Bool { return x }
1611

0 commit comments

Comments
 (0)