Closed
Conversation
owovouo
added a commit
to owovouo/Claude-Code-Usage-Monitor
that referenced
this pull request
Apr 17, 2026
Fix non-reentrant mutex deadlock where MoveWindow dispatches WM_PAINT synchronously, causing wnd_proc to re-enter lock_state() on the same thread. Credit: aa333 (PR CodeZeno#14)
Owner
|
@aa333 Thanks for the contributions, I have added the fix for the hanging app. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
--diagnoseflag will now show a console with stdout logs for easier debuggingFirst of all, thank you for the very useful widget! I can finally see my limits at a glance.
I had to fix a deadlock issue before I could use it, though. Also, since using Claude during peak hours apparently consume a larger share of the weekly budget, I wanted to be at least aware of that period, hence this little indicator.
See, for example, https://www.reddit.com/r/ClaudeAI/comments/1s7zwrn/claudes_peakhour_session_limits_explained_what/
@CodeZeno feel free to dsicard if it's out of scope. I can also extract the deadlock fix alone, or you can do it yourself.