* cleanup captured symbols when moving them from the nested function to the new method

This commit is contained in:
Sven/Sarah Barth 2022-09-23 14:44:42 +02:00
parent 960c154f48
commit 965bba5ab4

View File

@ -1081,6 +1081,7 @@ implementation
begin
captured:=pcapturedsyminfo(capturesyms[i]);
pi.add_captured_sym(captured^.sym,captured^.fileinfo);
dispose(captured);
end;
capturesyms.clear;
end;