Skip to content

Conversation

@mithun50
Copy link
Contributor

@mithun50 mithun50 commented Oct 2, 2025

This PR Fixes #249

The onRelease functionality in the Mutex class was unused.
This change removes the onRelease callback from the acquire
method and the Guard class, simplifying the implementation.

@mithun50
Copy link
Contributor Author

mithun50 commented Oct 2, 2025

@natorion Requested to review this pr

@natorion natorion requested a review from OrKoN October 2, 2025 10:59
@Lightning00Blade Lightning00Blade requested review from Lightning00Blade and removed request for OrKoN October 2, 2025 11:13
@Lightning00Blade Lightning00Blade changed the title Refactor: Remove onRelease functionality from Mutex refactor: remove onRelease functionality from Mutex Oct 2, 2025
@Lightning00Blade
Copy link
Collaborator

@mithun50 Please fix the code issue by running the formatters and I will review afterwards

@mithun50
Copy link
Contributor Author

mithun50 commented Oct 2, 2025

@Lightning00Blade formated successfully

Copy link
Collaborator

@Lightning00Blade Lightning00Blade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me,
Thanks for the PR.

@Lightning00Blade Lightning00Blade merged commit 574ff4e into ChromeDevTools:main Oct 2, 2025
17 checks passed
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.

Bug in Mutex: onRelease callback not called correctly for queued acquirers

2 participants