Skip to content

Commit 2a8ee32

Browse files
committed
fix bug in overlay
1 parent bc4b94c commit 2a8ee32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swift/Source.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public extension DispatchSource {
184184
}
185185

186186
public class func signal(signal: Int32, queue: DispatchQueue? = nil) -> DispatchSourceSignal {
187-
let source = dispatch_source_create(_swift_dispatch_source_type_read(), UInt(signal), 0, queue?.__wrapped)
187+
let source = dispatch_source_create(_swift_dispatch_source_type_signal(), UInt(signal), 0, queue?.__wrapped)
188188
return DispatchSource(source: source) as DispatchSourceSignal
189189
}
190190

0 commit comments

Comments
 (0)