-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
May (rarely) get errors like E900: Invalid channel id if a scheduled event that writes to the terminal channel happens while killing the game buffer.
Presumably it's because the terminal is closed before Actually, not what's happening here, as the event is being invoked via the main loop; still that scenario might be possible if there's another autocommand that processes non-fast events before ours...buf_freeall autocommands (see close_buffer in Nvim), which should've :close()'d the game instance before that point.
In a perfect world, the terminal would only be freed after we're sure the buffer is going to be deleted (after buf_freeall autocommands), so it's a bit of an Nvim L, but might be nice to workaround that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working