Skip to content

Commit e998c58

Browse files
authored
Merge pull request #939 from sambarza/review-websocket-fix
Do not remove the session manually
2 parents f51a40e + 79956f8 commit e998c58

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: core/cat/looking_glass/stray_cat.py

-3
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,6 @@ def run(self, user_message_json, return_message=False):
489489
self.send_error(e)
490490
except ConnectionClosedOK as ex:
491491
log.warning(ex)
492-
if self.__ws:
493-
del self.__ws
494-
self.__ws = None
495492

496493
def classify(
497494
self, sentence: str, labels: List[str] | Dict[str, List[str]]

0 commit comments

Comments
 (0)