Skip to content

Commit

Permalink
Update Horse.DataLogger.pas
Browse files Browse the repository at this point in the history
  • Loading branch information
dliocode committed Dec 23, 2022
1 parent eb24a1b commit 0481eb5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Horse.DataLogger.pas
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ implementation
end
else
for I := Low(FLoggerProvider) to High(FLoggerProvider) do
FLoggerProvider[I].Free
FLoggerProvider[I].Free;

FCriticalSection.Free;
end;

class function THorseDataLogger.Logger(const AProvider: TArray<TDataLoggerProviderBase>): THorseCallback;
Expand Down

0 comments on commit 0481eb5

Please sign in to comment.