Skip to content

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Oct 10, 2025

When shutting down, the plugin, we send SIGTERM, then wait(2) on it. But we observed some cases the compiler waits for the plugin process exit for long time.

To resolve that, send an empty message to the plugin and let them exit itself.

rdar://160820381

@rintaro
Copy link
Member Author

rintaro commented Oct 10, 2025

swiftlang/swift-syntax#3164
@swift-ci Please smoke test

When shutting down, the plugin, we send SIGTERM, then wait(2) on it. But
we observed some cases the compiler waits for the plugin process exit
for long time.

To resolve that, send an empty message to the plugin and let them exit
itself.

rdar://160820381
@rintaro rintaro force-pushed the plugin-termsignal-rdar160820381 branch from 7209881 to a0b9b54 Compare October 10, 2025 22:13
@rintaro
Copy link
Member Author

rintaro commented Oct 10, 2025

swiftlang/swift-syntax#3164
@swift-ci Please smoke test

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.

1 participant