Skip to content

Commit

Permalink
Merge pull request #939 from sambarza/review-websocket-fix
Browse files Browse the repository at this point in the history
Do not remove the session manually
  • Loading branch information
pieroit authored Oct 18, 2024
2 parents f51a40e + 79956f8 commit e998c58
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/cat/looking_glass/stray_cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,9 +489,6 @@ def run(self, user_message_json, return_message=False):
self.send_error(e)
except ConnectionClosedOK as ex:
log.warning(ex)
if self.__ws:
del self.__ws
self.__ws = None

def classify(
self, sentence: str, labels: List[str] | Dict[str, List[str]]
Expand Down

0 comments on commit e998c58

Please sign in to comment.