TeamUlysses / ulib

ULib: A Lua library for more rapid development on Garry's Mod servers
http://ulyssesmod.net
Other
105 stars 55 forks source link

Memory leak BackwardsHooks not cleared when entity key'd hook removed #67

Closed thegrb93 closed 2 years ago

thegrb93 commented 4 years ago

https://github.com/TeamUlysses/ulib/blob/e887b4086124a69fad9efd58ce6ce4311d60e3aa/lua/ulib/shared/hook.lua#L132 Leads to a memory leak.

thegrb93 commented 4 years ago

Add BackwardsHooks[ name ][ k ] = nil to fix

zpetty33 commented 2 years ago

Added. Thank you for finding this!