We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a30b5bc commit 249f715Copy full SHA for 249f715
pyls/python_ls.py
@@ -163,9 +163,9 @@ def watch_parent_process(pid):
163
log.info("parent process %s is not alive", pid)
164
self.m_exit()
165
log.debug("parent process %s is still alive", pid)
166
- threading.Timer(PARENT_PROCESS_WATCH_INTERVAL, watch_parent_process(pid)).start()
+ threading.Timer(PARENT_PROCESS_WATCH_INTERVAL, watch_parent_process, args=[pid]).start()
167
168
- watching_thread = threading.Thread(target=watch_parent_process, args=[processId])
+ watching_thread = threading.Thread(target=watch_parent_process, args=(processId,))
169
watching_thread.daemon = True
170
watching_thread.start()
171
0 commit comments