Hi,
In the below procedure do I need to call DBConnection.Disconnect inside the finally section?
I know it is an interface so I don't need to free it but I could not be sure if it must be disconnected after such use.
Thanks in advance
procedure ProcessVideoFile;
var
DBConnection: IDBConnection;
Manager: TObjectManager;
begin
Manager := nil;
try
DBConnection := TranscriberServerModule.AureliusConnection.CreateConnection;
Manager := TObjectManager.Create(DBConnection);
//....
finally
Manager.Free;
end;
end;