Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.24 KB | None | 0 0
  1. destructor TSimulator.Destroy();
  2.  begin
  3.    if Simulator <> nil then
  4.    begin
  5.      Simulator.Free;
  6.      Simulator := nil;
  7.    end;
  8.  end;
  9.  
  10.  
  11.  
  12. initialization
  13.  Simulator := TSimulator.Create();
  14.  finalization
  15.  Simulator.Destroy();
  16.  
  17. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement