Skip to content

Commit

Permalink
gapis/api: Preserve thread on edit.
Browse files Browse the repository at this point in the history
Fixes: #757
  • Loading branch information
ben-clayton committed Jul 31, 2017
1 parent 37ea36b commit 46c0712
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gapis/api/cmd_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ func ServiceToCmd(c *Command) (Cmd, error) {
if a == nil {
return nil, fmt.Errorf("Unknown command '%v.%v'", api.Name(), c.Name)
}
a.SetThread(c.Thread)

v := reflect.ValueOf(a)
for v.Kind() != reflect.Struct {
Expand Down

0 comments on commit 46c0712

Please sign in to comment.