Raylib-CSharp-Vinculum
Raylib-CSharp-Vinculum copied to clipboard
Problem with wrapper of SetAutomationEventList
There could be problem with wrapper of SetAutomationEventList, which I coded In raylib code, this function sets internal pointer to the list, but in our case, it only being fixed for wrapper-method statement and can be moved by GC again. This means, that pointer can be moved by GC to different memory location and then raylib will try to access invalid pointer of data. I think this could be implemented by pinning pointers permanently and unpinning it in UnloadAutomationEventList wrapper. Later I may try to implement this and make PR.