Skip to content

Commit 5526122

Browse files
authored
Merge pull request swiftlang#152 from dgrove-oss/dispatch-group-leave-bugfix
bugfix in Linux wrapper: DispatchGroup.leave should call leave, not e…
2 parents 81d1d0c + 140fe64 commit 5526122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swift/Wrapper.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class DispatchGroup : DispatchObject {
6363
}
6464

6565
public func leave() {
66-
dispatch_group_enter(__wrapped)
66+
dispatch_group_leave(__wrapped)
6767
}
6868
}
6969

0 commit comments

Comments
 (0)