Fixed an error 'gocode not found' was displayed when exiting.