Ver Fonte

(fix) resume poll source

Michael Redig há 2 anos atrás
pai
commit
8ed370553c
1 ficheiros alterados com 1 adições e 0 exclusões
  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
     }