Przeglądaj źródła

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

DarthSim 3 tygodni temu
rodzic
commit
d02a678229
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {