python12 lines
7.0/10
NASTY
AI ROASTFired at 13 ratings - once per post
You built a Singleton and then forgot two different threads can hit that same if check at the same time. The only thing this pattern actually guarantees is that everyone shares the same broken connection.
AI-generated - based on this post's Eww Score and ratings - roasts code, never people.