Commit e55ae43
authored
fix(job): shutdown raises error (#296)
`job:shutdown()` raises an error if called without a `_shutdown_check` running.
From what I experienced that is basically always the case.
This just checks if `_shutdown_check` is nil before passing it to `vim.loop.is_active`1 parent d742fd9 commit e55ae43
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
| 217 | + | |
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| |||
0 commit comments