etherlab/runtime_etherlab.py
changeset 2353 8f1a2846b2f5
parent 2132 9f5e4dc43053
child 2355 fec77f2b9e07
equal deleted inserted replaced
2352:fec90dc70e16 2353:8f1a2846b2f5
    98 
    98 
    99 def _runtime_etherlab_cleanup():
    99 def _runtime_etherlab_cleanup():
   100     global KMSGPollThread, StopKMSGThread, SDOProc, SDOThread
   100     global KMSGPollThread, StopKMSGThread, SDOProc, SDOThread
   101     try:
   101     try:
   102         os.kill(SDOProc.pid, SIGTERM)
   102         os.kill(SDOProc.pid, SIGTERM)
   103     except:
   103     except Exception:
   104         pass
   104         pass
   105     SDOThread = None
   105     SDOThread = None
   106     StopKMSGThread = True
   106     StopKMSGThread = True
   107     KMSGPollThread = None
   107     KMSGPollThread = None
   108 
   108