02-22-2023, 01:55 PM
The problem exists even with no code inside the OnAsyncPageUnloaded event.
Also I don't understand WebApplication.ActiveFormCount = 1. My formCount is always greater than 1. So WebApplication.SelfDestruct(15); will never happens.
if AIsCurrent and (WebApplication.ActiveFormCount = 1) then begin
WebApplication.SelfDestruct(15);
end;
Also I don't understand WebApplication.ActiveFormCount = 1. My formCount is always greater than 1. So WebApplication.SelfDestruct(15); will never happens.
if AIsCurrent and (WebApplication.ActiveFormCount = 1) then begin
WebApplication.SelfDestruct(15);
end;

