branch: elpa/hyperdrive
commit 9f7ea487e13038d1c24673c90c7e96d3e917b45a
Author: Adam Porter <[email protected]>
Commit: Joseph Turner <[email protected]>

    Fix: (h/cancel-install) Set h/install-process nil
---
 hyperdrive.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hyperdrive.el b/hyperdrive.el
index cae0c02728..f448003a8f 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -1384,7 +1384,8 @@ If FORCEP, don't prompt for confirmation before 
downloading."
   (unless (h/gateway-installing-p)
     (h/user-error "No installation in progress"))
   (h/message "Cancelling install")
-  (interrupt-process h/install-process))
+  (interrupt-process h/install-process)
+  (setf h/install-process nil))
 
 (defun h/restart ()
   "Restart the gateway."

Reply via email to