branch: elpa/hyperdrive commit 41646669a921a56f6674b9ec1a94a093bd420f31 Author: Joseph Turner <jos...@ushin.org> Commit: Joseph Turner <jos...@ushin.org>
Fix: (h/stop) Set h//gateway-starting-timer to nil In addition to canceling the timer, we need to set the variable to nil so that other predicates work as expected. --- hyperdrive.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hyperdrive.el b/hyperdrive.el index 01b47b71fc..f5919f2a4d 100644 --- a/hyperdrive.el +++ b/hyperdrive.el @@ -132,7 +132,8 @@ which see." ;; Cancel starting timer after calling h/gateway-stop-function since ;; h/gateway-ready-hook should still run if h/gateway-stop-function fails. (when (timerp h//gateway-starting-timer) - (cancel-timer h//gateway-starting-timer)) + (cancel-timer h//gateway-starting-timer) + (setf h//gateway-starting-timer nil)) (h//gateway-wait-for-dead)) ;;;###autoload