facebook/tornado — pull request #382 by WGH- (2011-10-13 19:10:45+00:00)
Title: websocket.py: reference cycle between WebSocketProtocol and WebSocketHandler

Self-explanatory. I used weakref, if this practice is acceptable