yglukhov / nimx

GUI library
MIT License
1.08k stars 76 forks source link

Fix building editor #515

Closed Q-Master closed 1 year ago

Q-Master commented 1 year ago

Replaced and fixed the URL handlers to a ptr Table[]. This might lead to some small memleak, but in other cases it won't build at all erroring about gcunsafe2 while using the global variable. Set some gcsafe markers.

yglukhov commented 1 year ago

Thanks! It would be better to just make those global variables {.threadvar.} instead of using pointers.

Q-Master commented 1 year ago

Fixed.

yglukhov commented 1 year ago

thank you!