Skip to content

Commit

Permalink
Initialize libgit on loading
Browse files Browse the repository at this point in the history
  • Loading branch information
guillep committed Apr 9, 2018
1 parent db99e4b commit 34f58e1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions LibGit-Core.package/LGitLibrary.class/class/initialize.st
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
class initialization
initialize
"Required to reset the Initialized flag on image startup"

Smalltalk addToStartUpList: self
"Required to reset the Initialized flag on image startup.
Force libgit initialization since we just installed libgit.
Otherwise this would cause a libgit crash"

Smalltalk addToStartUpList: self.
self uniqueInstance initializeLibGit2

0 comments on commit 34f58e1

Please sign in to comment.