Fixed memory leak in hook backward compatibility

This commit is contained in:
Zach P 2022-08-05 14:39:07 -07:00 committed by GitHub
parent d6d1b3748e
commit c8bf43b5e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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