Bugfix: don't dereference the MethodPatches object on finalization, it may never have been initialized, or it may have already been nil'd in RevertPatchedMethods().

This commit is contained in:
rosenfield.albert
2009-03-12 20:16:45 +00:00
parent 9a7a0b64a1
commit 62915ceb60

View File

@@ -1346,6 +1346,6 @@ end;
initialization
finalization
MethodPatches.Free;
FreeAndNil(MethodPatches);
end.