Give gitObject.Free a pointer-receiver #16

Merged
Merovius merged 1 commits from pointerrecv into polymorphism-take-2 2013-04-25 19:41:18 -05:00
Merovius commented 2013-04-25 19:35:35 -05:00 (Migrated from github.com)

This is needed to get runtime.SetFinalizer to work, which
expects a pointer-receiver. Without it the runtime will crash, when it
tries to garbage-collect an object.

This is needed to get runtime.SetFinalizer to work, which expects a pointer-receiver. Without it the runtime will crash, when it tries to garbage-collect an object.
vmg commented 2013-04-25 19:41:22 -05:00 (Migrated from github.com)

Gah, thank you. You're very much right.

Gah, thank you. You're very much right.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#16
No description provided.