Use correct tgid for kill in timeoutWait

This commit is contained in:
Derek Parker
2014-11-21 15:44:08 -06:00
parent 6fd1fbabad
commit fe24276b15
2 changed files with 7 additions and 11 deletions

View File

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