summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2017-04-06 09:53:29 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2017-04-06 09:53:29 +0900
commit7cbc16e8e6ada62335a535ec0e5e077ef6cd63af (patch)
treef1b43e73acb9925553be6a62df6d907059d948b0
parentbe8d03e547c5bbc00b93c453b04a64a767baba3f (diff)
downloaddeoplete.nvim-7cbc16e8e6ada62335a535ec0e5e077ef6cd63af.zip
Fix zombie process problem
-rw-r--r--rplugin/python3/deoplete/process.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rplugin/python3/deoplete/process.py b/rplugin/python3/deoplete/process.py
index 2699db2..54b93cf 100644
--- a/rplugin/python3/deoplete/process.py
+++ b/rplugin/python3/deoplete/process.py
@@ -36,8 +36,10 @@ class Process(object):
if not self.__proc:
return
self.__proc.kill()
+ self.__proc.wait()
self.__proc = None
self.__queue_out = None
+ self.__thread.join(1.0)
self.__thread = None
def enqueue_output(self):