sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit fbe92c9bcf3725f3710edca771e68879df0a551e
parent 872d4371de425d88a45220d37d1e61fa4376cd70
Author: Gaute Hope <eg@gaute.vetsj.com>
Date:   Sun, 18 Aug 2013 20:26:30 +0200

check if HookManager is instantiated in case of emergency shutdown

Diffstat:
M bin/sup | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup b/bin/sup
@@ -375,7 +375,7 @@ ensure
     Index.stop_lock_update_thread
   end
 
-  HookManager.run "shutdown"
+  HookManager.run "shutdown" if HookManager.instantiated?
 
   Index.stop_sync_worker
   Redwood::finish