Skip to content

Commit

Permalink
delete-session output-buffer fix (#772)
Browse files Browse the repository at this point in the history
Co-authored-by: littlehome <[email protected]>
  • Loading branch information
pcompassion and littlehome authored Jan 13, 2024
1 parent 038521a commit 03bcfe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dap-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1964,7 +1964,7 @@ If the current session it will be terminated."
(dap--set-sessions))
(when (eq (dap--cur-session) debug-session)
(dap--switch-to-session nil))
(when output-buffer (kill-buffer buffer))
(when output-buffer (kill-buffer output-buffer))
(dap--refresh-breakpoints))))
(if (not (dap--session-running debug-session))
(funcall cleanup-fn)
Expand Down

0 comments on commit 03bcfe9

Please sign in to comment.