summaryrefslogtreecommitdiff
path: root/patch.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2017-07-04 12:53:51 +0200
committerCarlos Martín Nieto <[email protected]>2017-07-04 12:53:51 +0200
commit544d29e18b6bad5630739e618e07ad8a8aa80495 (patch)
tree94ff8ecea51f77cd58e32726dee7aa86a1ee73a6 /patch.go
parentdaee43b89171725a719f0bafebbb348d855156fe (diff)
remote: add keep-alive and references to the repository
Especially in 1.8, the garbage collector can decide to finalize an object even as we are in one of its methods. This means it can free a remote while we're in one of its calls, as we're referencing the pointer inside the object, rather than the `Remote` itself.
Diffstat (limited to 'patch.go')
0 files changed, 0 insertions, 0 deletions