Skip to content

Commit

Permalink
fix: cast Session to pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhitt committed Oct 4, 2024
1 parent 084eb3f commit 2cf1acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frida/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ func (d *Device) AttachCtx(ctx context.Context, val any, sessionOpts *SessionOpt
}
doneC <- session
})
session, _ := rawSession.(Session)
return &session, err
session, _ := rawSession.(*Session)
return session, err
}

// Attach will attach on specified process name or PID.
Expand Down

0 comments on commit 2cf1acc

Please sign in to comment.