equal
deleted
inserted
replaced
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 |