Browse Source

Call vips.Shutdown() as close to exit as possible

DarthSim 1 month ago
parent
commit
d02a678229
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
main.go

@@ -79,9 +79,9 @@ func initialize() error {
 }
 
 func shutdown() {
-	vips.Shutdown()
 	metrics.Stop()
 	errorreport.Close()
+	vips.Shutdown()
 }
 
 func run() error {