Skip to content

Commit 0867d5d

Browse files
authored
Bugfix/aqua ws mem leak (#873)
2 parents 4398d3b + fd0a474 commit 0867d5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ads/aqua/extension/ui_websocket_handler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def on_message_processed(self, future: concurrent.futures.Future):
112112
)
113113
raise e
114114
finally:
115+
self.future_message_map.pop(future)
115116
# Send the response back to the client on the event thread
116117
IOLoop.current().run_sync(lambda: self.write_message(response.to_json()))
117118

0 commit comments

Comments
 (0)