Open arguiot opened 5 years ago
When the system calls -[GTRepository dealloc] and the git_repository is empty, but still exists, the app crashes.
-[GTRepository dealloc]
Here is a screenshot of the debug session:
To fix this, the function is simply checking if the workdir property of the git_repository object isn't empty before cleaning the repo.
workdir
git_repository
This PR fixes #689
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:
To fix this, the function is simply checking if the
workdir
property of thegit_repository
object isn't empty before cleaning the repo.This PR fixes #689