mirror of
https://github.com/go-delve/delve.git
synced 2025-11-02 04:36:29 +08:00
Use correct tgid for kill in timeoutWait
This commit is contained in:
@ -192,7 +192,7 @@ func (thread *ThreadContext) Step() (err error) {
|
||||
return fmt.Errorf("step failed: %s", err.Error())
|
||||
}
|
||||
|
||||
_, _, err = timeoutWait(thread.Id, 0)
|
||||
_, _, err = timeoutWait(thread, 0)
|
||||
if err != nil {
|
||||
if _, ok := err.(TimeoutError); ok {
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user