mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
fix(dashboard): fix race condition when sending data while closing
This commit is contained in:
parent
840c0aaa05
commit
4188446f86
1 changed files with 1 additions and 1 deletions
|
@ -913,7 +913,7 @@ function M.sections.terminal(opts)
|
|||
if recording:is_active() then
|
||||
table.insert(output, data)
|
||||
end
|
||||
send(data)
|
||||
pcall(send, data)
|
||||
end,
|
||||
on_exit = function(_, code)
|
||||
if not recording:is_active() or stopped then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue