diff options
| author | Daniel Pettersson <daniel@dpettersson.net> | 2026-04-25 18:55:55 +0200 |
|---|---|---|
| committer | Daniel Pettersson <daniel@dpettersson.net> | 2026-04-25 18:55:55 +0200 |
| commit | d77a5b4e6b0fb80ace81e15149ad7ccb965b174f (patch) | |
| tree | 079d2999c7bc1f33ad47f70127aabbf4a1d33e10 | |
| parent | e10b4f76dd1d9d5c391b4e3e5c044120a1ebf7f8 (diff) | |
Fix restart when no live connection
| -rw-r--r-- | dape.el | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -2638,11 +2638,7 @@ SKIP-COMPILE is used internally for recursive calls." (dape-active-mode +1)) (setf (dape--restart-in-progress-p conn) nil)))) (;; Use previous connections configuration - dape--connections - (let* ((live (dape--live-connection 'parent t)) - (config (dape--config live))) - (dape--with-request (dape-kill live) - (dape config)))) + dape--connections (dape (dape--config (car dape--connections)))) (;; Use history dape-history (dape (apply #'dape--config-eval (dape--config-from-string (car dape-history))))) |
