branch: externals/dape
commit b9423a5ac620fb5c9496dcf57ba91e0763095913
Author: Daniel Pettersson <dan...@dpettersson.net>
Commit: Daniel Pettersson <dan...@dpettersson.net>

    Update UI after handling terminated event
---
 dape.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dape.el b/dape.el
index 183122ca69..a07bf7c47f 100644
--- a/dape.el
+++ b/dape.el
@@ -2161,7 +2161,8 @@ Killing the adapter and it's CONN."
         ;; HACK remove duplicated terminated print for dlv
         (unless (eq (dape--state conn) 'terminated)
           (dape--message "Session terminated"))
-        (dape--update-state conn 'terminated)))))
+        (dape--update-state conn 'terminated)
+        (run-hooks 'dape-update-ui-hook)))))
 
 
 ;;; Startup/Setup

Reply via email to