Open
Description
When the system calls -[GTRepository dealloc]
and the git_repository is empty, but still exists, the app crashes.
Here is a screenshot of the debug session:
What I would suggest is to change:
objective-git/ObjectiveGit/GTRepository.m
Lines 110 to 115 in b3af3f3
By simply checking if the workdir
property of the git_repository
object isn't empty before cleaning the repo.
I'm not an Objective-C developer, so I let you guys do that for me (or just show me how to do it, and I'll submit a PR)
Metadata
Metadata
Assignees
Labels
No labels