Uprava CreateWaitableTimer pri uzavreni timeru (Rootvin)
This commit is contained in:
+5
-3
@@ -9,7 +9,7 @@ uses
|
||||
System.IOUtils, System.SyncObjs, IdBaseComponent, IdComponent, IdServerIOHandler, IdSSL, IdHTTP, IdURI,
|
||||
IdSSLOpenSSL, IdSSLOpenSSLHeaders, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdException, IdStack,
|
||||
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
|
||||
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
|
||||
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Consts,
|
||||
FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client,
|
||||
Neslib.Xml, Neslib.Xml.IO, Neslib.Xml.Types,
|
||||
{$IFDEF OMNIThreadLib}
|
||||
@@ -1707,10 +1707,12 @@ Logger.WriteLog(logItem);
|
||||
end;
|
||||
finally
|
||||
oPars.Free;
|
||||
end;
|
||||
|
||||
if (FDManager.State = dmsInactive) then
|
||||
FDManager.Open;
|
||||
end;
|
||||
|
||||
if (FDManager.State = dmsInactive) then
|
||||
FDManager.Open;
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user