Skip to content

RuntimeError("Hook stack is in an invalid state") #1250

Answered by Archmonger
stevej2608 asked this question in Question
Discussion options

You must be logged in to vote

I've seen this a few times as well.

This PR has a fix, but it needs to be pulled out into a smaller PR.

  • J - Bug fix for corrupted hook state - change hook state to a contextvar

On a similar note, _ThreadSafeQueue should probably be replaced with janus.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Archmonger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants