Skip to content

fix(job): shutdown raises error#296

Merged
Conni2461 merged 1 commit intonvim-lua:masterfrom
saecki:patch-1
Mar 4, 2022
Merged

fix(job): shutdown raises error#296
Conni2461 merged 1 commit intonvim-lua:masterfrom
saecki:patch-1

Conversation

@saecki
Copy link
Copy Markdown
Contributor

@saecki saecki commented Dec 26, 2021

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

`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`
@Conni2461 Conni2461 merged commit e55ae43 into nvim-lua:master Mar 4, 2022
@Conni2461
Copy link
Copy Markdown
Collaborator

Thanks :)

@saecki saecki deleted the patch-1 branch March 4, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants