Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Neoray process tree doesn't exit on closing the GUI #27

Open
andis-sprinkis opened this issue Nov 18, 2021 · 2 comments
Open

Neoray process tree doesn't exit on closing the GUI #27

andis-sprinkis opened this issue Nov 18, 2021 · 2 comments

Comments

@andis-sprinkis
Copy link

andis-sprinkis commented Nov 18, 2021

Please complete the following information:

  • OS or distro: Windows 10 x64
  • neoray version: 0.1.1 and probably all previous ones

Describe the bug
Occasionally when I close the GUI using X button on the right corner, Neoray process tree don't exit.
In Task Manager after a while I notice multiple such Neoray such supposedly closed instances/process trees still running.

PROCEXP64_GllFhDde0f

Maybe it has something to do with those other processes running under Neovim, like conhost with coc.nvim Node server or fzf instance (from fzf.vim). I am also not entirely sure if isn't just Neovim issue.

Steps to reproduce

  1. Run Neoray
  2. Close it using the GUI X button
  3. Observe process still running

(Tricky to replicate, as it happens only on occasion. Program usually exits normally.)

Your neoray config in init.vim (Only the part that concerns neoray!)

vim.opt.guifont = 'CascadiaCodePL:h13'
vim.cmd([[
  NeoraySet KeyZoomIn <C-ScrollWheelUp>
  NeoraySet KeyZoomOut <C-ScrollWheelDown>
]])

Crash log if available (may be generated by neoray after crash)

Debug output (you can generate starting neoray with --verbose option)

@andis-sprinkis andis-sprinkis changed the title Neoray instance & process tree doesn't exit on closing the GUI Neoray process tree doesn't exit on closing the GUI Nov 18, 2021
@hismailbulut
Copy link
Owner

Sometimes it also happens to me, but window doesn't close and delays at least 2-3 minutes to shutdown. I don't know are they same issue but when it happens to me neoray just still working and waiting for neovim. I can understand this from cursor blinking but it happens very rarely as you said and debugging is impossible at this time. I am going to try to write some stuff for dumping some debug information when delay happens. Thanks for detailed information.

@andis-sprinkis
Copy link
Author

andis-sprinkis commented Nov 20, 2021

Forgot to specify that in my case the window actually closes, but process remains running.

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

No branches or pull requests

2 participants