mirror of
https://github.com/ha7ilm/openwebrx.git
synced 2026-04-21 06:13:45 +00:00
use the resume call before pumping data from a reader
This commit is contained in:
parent
4bc6608e87
commit
33c8e34456
2 changed files with 4 additions and 0 deletions
|
|
@ -49,6 +49,8 @@ class DirewolfModule(AutoStartModule, DirewolfConfigSubscriber):
|
|||
stdin=PIPE,
|
||||
)
|
||||
|
||||
# resume in case the reader has been stop()ed before
|
||||
self.reader.resume()
|
||||
threading.Thread(target=self.pump(self.reader.read, self.process.stdin.write)).start()
|
||||
|
||||
delay = 0.5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue