mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 02:32:51 +02:00
compiler: fix no finalization calls for libraries caused by r14543
git-svn-id: trunk@14552 -
This commit is contained in:
parent
d52071fc04
commit
bf45b463bc
@ -227,8 +227,7 @@ implementation
|
||||
if (block.nodetype=blockn) and (tblocknode(block).left=nil) then
|
||||
FreeAndNil(block)
|
||||
else
|
||||
if not islibrary then
|
||||
current_module.flags:=current_module.flags or uf_finalize;
|
||||
current_module.flags:=current_module.flags or uf_finalize;
|
||||
end
|
||||
else
|
||||
block:=nil;
|
||||
|
Loading…
Reference in New Issue
Block a user