mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 03:42:59 +08:00
@ -72,7 +72,7 @@ func (t *Term) Run() (int, error) {
|
||||
signal.Notify(ch, syscall.SIGINT)
|
||||
go func() {
|
||||
for range ch {
|
||||
fmt.Printf("recieved SIGINT, stopping process (will not forward signal)")
|
||||
fmt.Printf("received SIGINT, stopping process (will not forward signal)")
|
||||
_, err := t.client.Halt()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "%v", err)
|
||||
|
||||
Reference in New Issue
Block a user