Skip to content

Commit 140fe64

Browse files
committed
bugfix in Linux wrapper: DispatchGroup.leave should call leave, not enter!
1 parent 81d1d0c commit 140fe64

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)