You are not logged in.
Pages: 1
After update my mORMot repository it has started to thrown an Acess Violation Exception,
i have just removed the fSessionUser.Free and it worked normally.
destructor TSQLRestClientURI.Destroy;
...
SessionClose; // if not already notified <- Here it executes a FreeAndNil(fSessionUser)
finally
// release memory and associated classes
if fRemoteLogClass<>nil then begin
{$ifndef LVCL}
FreeAndNil(fRemoteLogThread);
{$endif}
ServerRemoteLogStop;
end;
fSessionUser.Free; <- Here throw an Acess Violation, because the fSessionUser it's already Free
...
end;
Offline
Pages: 1