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