refactor(PlayerConnectService): replace shared room future with local… - #219
Conversation
… instances remove the class-level roomFuture field, eliminate redundant isDone checks and future reset code, and use a new CompletableFuture for each method invocation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughPlayerConnectService is refactored to use per-invocation CompletableFutures instead of a shared service-level field, eliminating potential async state conflicts. The mod version is incremented to v4.57.5-v8. ChangesAsync State Refactoring and Version Bump
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
… instances
remove the class-level roomFuture field, eliminate redundant isDone checks and future reset code, and use a new CompletableFuture for each method invocation
Summary by CodeRabbit
Bug Fixes
Chores