Skip to content

Conversation

kotovmax
Copy link

Reason:

  • configFileSettings and settingPresetSettings caches were just global dictionaries. Data races were taken place at these points when multiple projects are generated in parallel.

Content:

  • Dictionaries for caches moved to NSCache which is thread safe.

**Reason:**
- `configFileSettings` and `settingPresetSettings` caches were just global dictionaries. Data races were taken place at these points when multiple projects are generated in parallel.

**Content:**
- Dictionaries for caches moved to NSCache which is thread safe.
@@ -0,0 +1,37 @@
import XcodeProj
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw, maybe the proper place for this file is XcodeGenCore target
Because, XcodeGenKit target mostly contains public business logic, closely related to project generation

@kotovmax
Copy link
Author

@yonaskolb review this PR please) Thanks in advance!)

@kotovmax
Copy link
Author

kotovmax commented Aug 6, 2022

@yonaskolb, please, review this PR)

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.

2 participants