Skip to content
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

State Machine Revamp #120

Merged
merged 4 commits into from
Dec 27, 2024
Merged

State Machine Revamp #120

merged 4 commits into from
Dec 27, 2024

Conversation

Segfaultd
Copy link
Member

@Segfaultd Segfaultd commented Dec 27, 2024

Added thread safety and reliability improvements to the state machine implementation while keeping the same interface.

  • Switched from shared_ptr to unique_ptr for better performance and clearer ownership
  • Added mutex protection for state transitions and updates
  • Protected against recursive updates
  • Improved error handling with proper logging
  • Added unit testing file

@Segfaultd Segfaultd marked this pull request as ready for review December 27, 2024 16:36
@Segfaultd Segfaultd merged commit c649d22 into develop Dec 27, 2024
3 of 4 checks passed
@Segfaultd Segfaultd deleted the improvement/state-machine-revamp branch December 27, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants