mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
bugfix: rpc.(*RPCClient).AttachedToExistingProcess calling the wrong function, this would result in the terminal frontend always killing a process it was attached to
This commit is contained in:
@ -207,7 +207,7 @@ func (c *RPCClient) Stacktrace(goroutineId, depth int) ([]api.Location, error) {
|
||||
|
||||
func (c *RPCClient) AttachedToExistingProcess() bool {
|
||||
var answer bool
|
||||
c.call("AttachedToRunningProcess", nil, &answer)
|
||||
c.call("AttachedToExistingProcess", nil, &answer)
|
||||
return answer
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user