From 9a15001c8b97878b0296484a2bf6de0fef98fcb3 Mon Sep 17 00:00:00 2001 From: Jakub Date: Thu, 21 May 2026 20:44:59 +0800 Subject: [PATCH] Prevent multiple timers --- userland/aws.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/userland/aws.el b/userland/aws.el index c0729c5..a75a746 100644 --- a/userland/aws.el +++ b/userland/aws.el @@ -78,6 +78,8 @@ (aws--login role)))) (funcall auth-fn) (when aws-auto-reauth + (when aws-reauth-timer + (cancel-timer aws-reauth-timer)) (setq aws-reauth-timer (run-at-time t (* 60 aws-auto-reauth) auth-fn))))) (provide 'aws)