Skip to content

Commit

Permalink
Cancel session timeout if we manually call session ended
Browse files Browse the repository at this point in the history
  • Loading branch information
Psychokiller1888 committed Apr 16, 2023
1 parent 8c64145 commit 7abbc76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/dialog/DialogManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,7 @@ def onSessionEnded(self, session: DialogSession):
:param session:
:return:
"""
self.cancelSessionTimeout(sessionId=session.sessionId)
session.hasEnded = True

self.MqttManager.publish(
Expand Down

0 comments on commit 7abbc76

Please sign in to comment.