Michael Redig пре 2 година
родитељ
комит
1860264e3a
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      Sources/SwiftSerial.swift

+ 1 - 0
Sources/SwiftSerial.swift

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