Sanjari Posted February 10 Posted February 10 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.