1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

This could be the source of the connection memory leaks, over 1000

connections and only 12 bytes of non-gc-tracked allocations.  Kudos to
cmeyers for finding this.
This commit is contained in:
Matthew Jones 2015-04-21 14:25:01 -04:00
parent fb3bbea027
commit 93ecf739be

View File

@ -205,6 +205,7 @@ class SocketIOHandler(WSGIHandler):
del self.websocket.environ
del self.websocket
if self.environ:
self.environ.pop('wsgi.websocket', None)
del self.environ
def handle_bad_request(self):