Fixed Ctrl C during startup panic bug

This commit is contained in:
Toby Chui
2025-11-25 21:58:53 +08:00
parent 8976da8f7c
commit c98d91bc65

View File

@@ -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")