Skip to content

Commit

Permalink
Call #clear_callbacks on Context#close
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Aug 12, 2016
1 parent 9c9b894 commit 76e0515
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gphoto2/context.cr
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ module GPhoto2
end

def close : Void
clear_callbacks
unref
end

Expand Down

0 comments on commit 76e0515

Please sign in to comment.