Skip to content

Conversation

@dkovba
Copy link
Contributor

@dkovba dkovba commented Sep 25, 2025

This PR fixes several races with the stop() and shutdown() methods by moving all state transitions inside a lock.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

[Why is this change needed?]

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@dkovba dkovba changed the title Fix races in the SandboxService actor due to reentrancy after await calls #682 Fix races in the SandboxService actor due to reentrancy after await calls Sep 25, 2025
@crosbymichael crosbymichael merged commit 69fd948 into apple:main Sep 25, 2025
2 checks passed
@dkovba dkovba deleted the dkovba/sandbox-service-with-lock branch September 26, 2025 01:30
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