diff options
author | Marcus Müller <marcus@hostalia.de> | 2018-09-22 00:31:45 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-09-22 00:31:45 +0200 |
commit | 5ad56948eda02668a5a19dd37d22804d1bd3a56c (patch) | |
tree | 8d50d971ac15817929fd2165fbb2de849e1dca7b /grc/core/utils/extract_docs.py | |
parent | 0921b9a74746dc812ebe60d17ab29a82c7167598 (diff) | |
parent | f410994109958286cd5e175883b87cde264783e8 (diff) |
Merge branch 'fix-grc-infinite-loop' of https://github.com/argilo/gnuradio into argilo-fix-grc-infinite-loop
Diffstat (limited to 'grc/core/utils/extract_docs.py')
-rw-r--r-- | grc/core/utils/extract_docs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/grc/core/utils/extract_docs.py b/grc/core/utils/extract_docs.py index 39cb6ec096..306940dcfd 100644 --- a/grc/core/utils/extract_docs.py +++ b/grc/core/utils/extract_docs.py @@ -199,7 +199,10 @@ class SubprocessLoader(object): raise ValueError('Got wrong auth code') return cmd, args except ValueError: - continue # ignore invalid output from worker + if self._worker.poll(): + raise IOError("Worker died") + else: + continue # ignore invalid output from worker else: raise IOError("Can't read worker response") |