mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
Fix C strings caching
This commit is contained in:
parent
55ac2c8e5b
commit
c6838e5857
@ -36,7 +36,7 @@ type cConfig struct {
|
|||||||
|
|
||||||
var cConf cConfig
|
var cConf cConfig
|
||||||
|
|
||||||
var cstrings map[string]*C.char
|
var cstrings = make(map[string]*C.char)
|
||||||
|
|
||||||
func initVips() {
|
func initVips() {
|
||||||
runtime.LockOSThread()
|
runtime.LockOSThread()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user