nsf/gocode — Issue #75: User must manually rm the unix domain socket file if gocode is killed
Author: angasule
Created: 2012-02-23 01:33:36+00:00
State: open

If gocode is killed (by ^C or any other means), the unix domain socket file is left behind, so next time the same user tries to run gocode it refuses since the file already exists, requiring the user to manually delete this file. The quick and dirty solution is to delete the file when it exists (about 3 lines changed), a better one would be to check if gocode is already running in a proper way and if not, delete and bind.