Skip to content

swift-plugin-server: update for throwing SwiftSyntax API #78114

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

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

MaxDesiatov
Copy link
Contributor

@MaxDesiatov MaxDesiatov commented Dec 11, 2024

Depends on swiftlang/swift-syntax#2915

The main method on CompilerPluginMessageListener in SwiftSyntax can synchronously clean up resources that cannot be dealt with in a deinitializer due to possible errors thrown during the clean up. Usually this includes closure of file handles, sockets, shutting down external processes and IPC resources set up for these processes, etc.

The `main` method on `CompilerPluginMessageListener` can synchronously clean up resources that cannot be dealt with in a deinitializer due to possible errors thrown during the clean up. Usually this includes closure of file handles, sockets, shutting down external processes and IPC resources set up for these processes, etc.
@MaxDesiatov MaxDesiatov added the swift macro Feature → declarations: Swift `macro` declarations label Dec 11, 2024
@MaxDesiatov
Copy link
Contributor Author

@MaxDesiatov MaxDesiatov enabled auto-merge (squash) December 11, 2024 19:00
@MaxDesiatov MaxDesiatov disabled auto-merge December 11, 2024 19:00
@MaxDesiatov MaxDesiatov merged commit b5e8cfb into main Dec 12, 2024
5 checks passed
@MaxDesiatov MaxDesiatov deleted the maxd/throwing-listener-main branch December 12, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
swift macro Feature → declarations: Swift `macro` declarations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants