| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cb68f36 commit f467834
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -87,6 +87,8 @@ def __del__(self): | |||
| 87 | 87 | # try to kill it | |
| 88 | 88 | try: | |
| 89 | 89 | os.kill(self.proc.pid, 2) # interrupt signal | |
| 90 | + except OSError: | ||
| 91 | + pass # ignore error when process already died | ||
| 90 | 92 | except AttributeError: | |
| 91 | 93 | # try windows | |
| 92 | 94 | # for some reason, providing None for stdout/stderr still prints something. This is why | |
| Back | FazBrowse Home | New Git URL |
0 commit comments