Jump to content

Recommended Posts

Posted

currently:

procedure TUniCustomImageList.CleanCache;
begin
  if WebMode then
    if (not UniSession.IsTerminated) and (not FUseGlobalCache) then // if Terminated Cache will be earsed automatically
      UniServerInstance.AddFolderEraseJob(FCacheFolder);
end;

 

Needed:

procedure TUniCustomImageList.CleanCache;
begin
  if WebMode then
    if (not FUseGlobalCache) and (not UniSession.IsTerminated) then // if Terminated Cache will be earsed automatically
      UniServerInstance.AddFolderEraseJob(FCacheFolder);
end;

On UniServerModule module destroy UniSession = nil, so it raise AV.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...