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

Dead lock when PBXObjects.delete #446

Closed
antscript opened this issue Jun 10, 2019 · 1 comment · Fixed by #449
Closed

Dead lock when PBXObjects.delete #446

antscript opened this issue Jun 10, 2019 · 1 comment · Fixed by #449
Assignees

Comments

@antscript
Copy link

Call xcodeProj.pbxproj.delete(object: ) lead to dead lock.

solve:
add

defer {
    lock.unlock()
}

to PBXObjects.swift in func delete(reference: ) after lock.lock().

@pepicrft
Copy link
Contributor

Thanks for reporting this @antscript. Feel free to open a PR with the fix that you suggested. Otherwise, we can look into it.

@pepicrft pepicrft mentioned this issue Jun 20, 2019
@pepicrft pepicrft self-assigned this Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants