Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes crash caused by GTRepository dealloc #690

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arguiot
Copy link

@arguiot arguiot commented May 16, 2019

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:
Capture d’écran 2019-05-16 à 20 27 09

To fix this, the function is simply checking if the workdir property of the git_repository object isn't empty before cleaning the repo.

This PR fixes #689

@arguiot arguiot changed the title Fixes crash described by #689 Fixes crash caused by GTRepository dealloc May 16, 2019
arguiot added a commit to arguiot/StudIO that referenced this pull request May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GTRepository dealloc crash
1 participant