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
     }