The Panel shouldn't be closed by `exit`. It depends whether the user closes the panel or terminates the process, see https://github.com/Acconut/brackets-nodejs/blob/master/main.js#L248-L254.