mirror of
https://github.com/rejetto/hfs2.git
synced 2025-12-19 18:13:46 +01:00
fix: stopping the server twice led to inconsistent state
This commit is contained in:
parent
d2675b9028
commit
2c03f14766
2
main.pas
2
main.pas
@ -5906,7 +5906,7 @@ case event of
|
|||||||
// default case
|
// default case
|
||||||
else refreshConn(data);
|
else refreshConn(data);
|
||||||
end;//case
|
end;//case
|
||||||
if assigned(data.session) then
|
if assigned(data) and assigned(data.session) then
|
||||||
data.session.keepAlive();
|
data.session.keepAlive();
|
||||||
if event in [HE_CONNECTED, HE_DISCONNECTED, HE_OPEN, HE_CLOSE, HE_REQUESTED, HE_POST_END, HE_LAST_BYTE_DONE] then
|
if event in [HE_CONNECTED, HE_DISCONNECTED, HE_OPEN, HE_CLOSE, HE_REQUESTED, HE_POST_END, HE_LAST_BYTE_DONE] then
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user