Open jgmdev opened 2 years ago
After doing a channel pop the list is rotated but the first element is never freed and ram usage continues growing.
https://github.com/Tangent128/luasdl2/blob/master/src/channel.c#L156
As another note the channelClear doesn't reinitializes the first element to null and the last element to first element pointer.
After doing a channel pop the list is rotated but the first element is never freed and ram usage continues growing.
https://github.com/Tangent128/luasdl2/blob/master/src/channel.c#L156