forked from TeamUlysses/ulib
Fixed memory leak in hook backward compatibility
This commit is contained in:
parent
d6d1b3748e
commit
c8bf43b5e0
@ -130,6 +130,7 @@ function Call( name, gm, ... )
|
|||||||
-- If the object has become invalid - remove it
|
-- If the object has become invalid - remove it
|
||||||
--
|
--
|
||||||
HookTable[ i ][ k ] = nil
|
HookTable[ i ][ k ] = nil
|
||||||
|
BackwardsHooks[ name ][ k ] = nil
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user