mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-16 16:09:54 +02:00
* On shutdown, always terminate the TDaemonThread, not only in case of an exception
git-svn-id: trunk@13059 -
This commit is contained in:
parent
31e0852c4b
commit
1c8d79c57f
@ -1220,7 +1220,7 @@ begin
|
|||||||
FDaemon.Status:=csStopPending;
|
FDaemon.Status:=csStopPending;
|
||||||
Try
|
Try
|
||||||
Result:=FDaemon.ShutDown;
|
Result:=FDaemon.ShutDown;
|
||||||
except
|
finally
|
||||||
FDaemon.Status:=csStopped;
|
FDaemon.Status:=csStopped;
|
||||||
Terminate;
|
Terminate;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user