Skip to content

Commit

Permalink
actually close sessions when closed
Browse files Browse the repository at this point in the history
  • Loading branch information
baughj committed Sep 22, 2024
1 parent 3f4a736 commit 1d94fe9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hybrasyl/Subsystems/Dialogs/AsyncDialogSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,15 @@ public void CloseSource()
sourceClosed = true;
user.ActiveDialogSession = null;
user.ClearDialogState();
user.SendCloseDialog();
}

public void CloseTarget()
{
targetClosed = true;
Target.ActiveDialogSession = null;
Target.ClearDialogState();
Target.SendCloseDialog();
}

public void Close()
Expand Down

0 comments on commit 1d94fe9

Please sign in to comment.