bug fix to make sure the serial port is in use before to remove it
@@ -112,6 +112,7 @@ class SerialMonitor(object):
Stops the loop who is wating for more information from the serial port
"""
self.is_alive = False
+ if(self.port in serials_in_use):
serials_in_use.remove(self.port)
self.dstop()
