mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 22:47:54 +02:00
* Cleanup session for the case that a webmodule instance is used for more then one request (wkPooled)
git-svn-id: trunk@14528 -
This commit is contained in:
parent
b4c572483b
commit
a8a332e029
@ -465,6 +465,12 @@ begin
|
||||
UpdateSession(AResponse);
|
||||
FRequest := Nil;
|
||||
FResponse := Nil;
|
||||
// Clean up session for the case the webmodule is used again
|
||||
if assigned(Session) then
|
||||
begin
|
||||
Session.Free;
|
||||
Session := nil;
|
||||
end;
|
||||
{$ifdef cgidebug}
|
||||
SendMethodExit('WebModule('+Name+').handlerequest');
|
||||
{$endif cgidebug}
|
||||
|
Loading…
Reference in New Issue
Block a user