OmniSharp/omnisharp-emacs

OmniServer prevents emacs quitting

richardxday opened this issue · 2 comments

After loading several [unmanaged] C# files but NOT having an up to date copy of OmniSharp.exe available, it is not possible to quit emacs.

emacs reports "Process OmniServer not active" and does not quit.

After installing a the OmniSharp server, normal operation is resumed.

Steps to reproduce:

  1. Ensure emacs is not running
  2. Delete all copies of OmniSharp.exe
  3. Start emacs
  4. Load a C# source file
  5. Attempt to quit emacs - emacs reports "Process OmniServer not active" and does not quit
  6. M-x omnisharp-installer-server RET y RET and let the server install
  7. Attempt to quit emacs - emacs reports "Process OmniServer not active" and does not quit
  8. M-x omnisharp-start-omnisharp-server RET RET
  9. Now able to quit emacs

If the user is not able to install the OmniSharp server for whatever reason (not on a network, network issues, etc), they are stuck not able to quit emacs gracefully.

Hi @richardxday. Thanks for the report.
Which emacs version is it, any particular emacs configuration, spacemacs, doom, etc?

GNU Emacs 25.3.1 (x86_64-w64-mingw32)
of 2017-09-12

Downloaded from: https://sourceforge.net/projects/emacsbinw64/files/release/