Browse Source

(fix) resume poll source

Michael Redig 2 năm trước cách đây
mục cha
commit
8ed370553c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
     }