Skip to content

Commit

Permalink
moved createTemporaryDirectoryOrPanic() call
Browse files Browse the repository at this point in the history
  • Loading branch information
BajanMarian committed Jun 12, 2024
1 parent b68a66d commit 2a223df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vips/govips.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ func Startup(config *Config) {
runtime.LockOSThread()
defer runtime.UnlockOSThread()

createTemporaryDirectoryOrPanic()

if running {
govipsLog("govips", LogLevelInfo, "warning libvips already started")
return
Expand Down Expand Up @@ -98,6 +96,7 @@ func Startup(config *Config) {
panic(fmt.Sprintf("Failed to start vips code=%v", err))
}

createTemporaryDirectoryOrPanic()
initializeICCProfiles()

running = true
Expand Down

0 comments on commit 2a223df

Please sign in to comment.