Pārlūkot izejas kodu

(fix) resume poll source

Michael Redig 2 gadi atpakaļ
vecāks
revīzija
8ed370553c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      Sources/SwiftSerial.swift

+ 1 - 0
Sources/SwiftSerial.swift

@@ -221,6 +221,7 @@ public class SerialPort {
                 continuation.finish()
             }
         }
+        pollSource.resume()
         self.readDataStream = stream
     }