diff options
| author | Carlos MartÃn Nieto <[email protected]> | 2017-07-08 16:51:22 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-07-08 16:51:22 +0200 |
| commit | 08db2e2c167404c5ed9be0fc1c995e41bad479bb (patch) | |
| tree | 4a9c1357f3682d4134318e73ef85aa172cbfbd48 /signature.go | |
| parent | 29c0b730076fe402c22ea3e3a11a7ed541663637 (diff) | |
| parent | 55a1096141519a1f380d0702671cfe9bf90ec435 (diff) | |
Merge pull request #393 from libgit2/cmn/keepalive-all-the-things
KeepAlive all the things
Diffstat (limited to 'signature.go')
| -rw-r--r-- | signature.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/signature.go b/signature.go index 0518387..16964d2 100644 --- a/signature.go +++ b/signature.go @@ -63,6 +63,7 @@ func (repo *Repository) DefaultSignature() (*Signature, error) { defer runtime.UnlockOSThread() cErr := C.git_signature_default(&out, repo.ptr) + runtime.KeepAlive(repo) if cErr < 0 { return nil, MakeGitError(cErr) } |
