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:
aarzilli
2015-07-20 09:53:12 +02:00
committed by Derek Parker
parent 18a6124833
commit efb5ef97c7

View File

@ -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
}