diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-04-06 09:53:29 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-04-06 09:53:29 +0900 |
commit | 7cbc16e8e6ada62335a535ec0e5e077ef6cd63af (patch) | |
tree | f1b43e73acb9925553be6a62df6d907059d948b0 | |
parent | be8d03e547c5bbc00b93c453b04a64a767baba3f (diff) | |
download | deoplete.nvim-7cbc16e8e6ada62335a535ec0e5e077ef6cd63af.zip |
Fix zombie process problem
-rw-r--r-- | rplugin/python3/deoplete/process.py | 2 |
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): |