FireDAC.Comp.Client.TFDCustomManager.BeforeShutdown
Delphi
property BeforeShutdown: TNotifyEvent read FBeforeShutdown write FBeforeShutdown;
C++
__property System::Classes::TNotifyEvent BeforeShutdown = {read=FBeforeShutdown, write=FBeforeShutdown};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomManager |
Description
This event is fired before the manager is finished.
The BeforeShutdown event is fired before the FireDAC manager is terminated.
Note: To avoid possible deadlock, a multi-threaded application can close the connections open in the background threads by calling the BeforeShutdown event handler.