[K/N] Fix RunFinalizerHooks ^KT-56233
This commit is contained in:
committed by
Space Team
parent
aad6d2c8f8
commit
eec3987e85
@@ -21,7 +21,6 @@ void (*g_hookOverrideForTesting)(ObjHeader*) = nullptr;
|
||||
NO_INLINE void RunFinalizerHooksImpl(ObjHeader* object, const TypeInfo* type) noexcept {
|
||||
if (g_hookOverrideForTesting != nullptr) {
|
||||
g_hookOverrideForTesting(object);
|
||||
return;
|
||||
}
|
||||
// TODO: Consider some global registration.
|
||||
if (type == theCleanerImplTypeInfo) {
|
||||
|
||||
Reference in New Issue
Block a user