From 2550ee1ce10f53dd1b27b98b25203c5cb92aaaca Mon Sep 17 00:00:00 2001 From: Azareal Date: Mon, 3 May 2021 11:23:37 +1000 Subject: [PATCH] fix analytics not loading --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 5725b799..5f3d1385 100644 --- a/main.go +++ b/main.go @@ -274,6 +274,7 @@ func storeInit() (e error) { if e != nil { return ws(e) } + c.Analytics = c.NewDefaultAnalytics() c.Activity, e = c.NewDefaultActivityStream(acc) if e != nil { return ws(e) @@ -600,6 +601,7 @@ func main() { log.Print("Received a signal to shutdown: ", sig) // TODO: Gracefully shutdown the HTTP server c.Tasks.Shutdown.Run() + log.Print("Ran shutdown tasks") c.StoppedServer("Stopped server") }()