Skip to content

Commit 48af577

Browse files
author
wellenvogel
committed
remove reader info from status when stopping serial
1 parent 43f137c commit 48af577

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/handler/avnserial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ def nmeaInfo():
376376
AVNLog.info("exception in receiver %s" % traceback.format_exc())
377377
AVNLog.info("stopping handler")
378378
self.infoHandler.setInfo(INAME,"stopped", WorkerStatus.INACTIVE)
379+
self.infoHandler.deleteInfo('reader')
379380

380381
#a Worker to directly read from a serial line using pyserial
381382
#on windows use an int for the port - e.g. use 4 for COM5

0 commit comments

Comments
 (0)