cleanup
This commit is contained in:
@@ -106,7 +106,7 @@ class Modbus():
|
|||||||
self.tim = None
|
self.tim = None
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
"""free the queue and the callback handler"""
|
"""free the queue and erase the callback handlers"""
|
||||||
logging.debug('Modbus close:')
|
logging.debug('Modbus close:')
|
||||||
self.rsp_handler = None
|
self.rsp_handler = None
|
||||||
self.snd_handler = None
|
self.snd_handler = None
|
||||||
|
|||||||
Reference in New Issue
Block a user