mirror of
https://github.com/go-delve/delve.git
synced 2025-10-30 10:17:03 +08:00
Instead of panicing for sending on a closed channel, detect that the process has exited and return a proper error message. This patch also cleans up some spots where the Pid is omitted from the error. Fixes #920