From c98d91bc652802e8a438ade43c5b4097d53f37d4 Mon Sep 17 00:00:00 2001 From: Toby Chui Date: Tue, 25 Nov 2025 21:58:53 +0800 Subject: [PATCH] Fixed Ctrl C during startup panic bug --- src/start.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/start.go b/src/start.go index f40f6e7..65761b2 100644 --- a/src/start.go +++ b/src/start.go @@ -455,7 +455,9 @@ func ShutdownSeq() { //Close the plugin manager SystemWideLogger.Println("Shutting down plugin manager") - pluginManager.Close() + if pluginManager != nil { + pluginManager.Close() + } //Remove the tmp folder SystemWideLogger.Println("Cleaning up tmp files")