Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 20, 2024

We fulfilled the allDocumentsOpened expectation directly after dispatching the notification to open LibD.swift. This left a very short window in which LibB’s preparation could finish and LibC’s expectation could start before the open notification for LibD.swift was handled, causing an unexpected preparation of LibC.

This fixes the issue first reported as rdar://129698768 and for which I added logging in #1478.

…nForEditorFunctionality`

We fulfilled the `allDocumentsOpened` expectation directly after dispatching the notification to open LibD.swift. This left a very short window in which LibB’s preparation could finish and LibC’s expectation could start before the open notification for LibD.swift was handled, causing an unexpected preparation of LibC.

This fixes the issue first reported as rdar://129698768 and for which I added logging in swiftlang#1478.
@ahoppen
Copy link
Member Author

ahoppen commented Jun 20, 2024

@swift-ci Please test

@ahoppen ahoppen merged commit b8d4c62 into swiftlang:main Jun 21, 2024
@ahoppen ahoppen deleted the fix-dont-stack-preparation-test branch June 21, 2024 14:49
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