ソースを参照

(fix) resume poll source

Michael Redig 2 年 前
コミット
8ed370553c
1 ファイル変更1 行追加0 行削除
  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
     }