RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCriticalSection.Destroy Destructor

Destroys an instance of TCriticalSection.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TCriticalSection();

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TCriticalSection object is not nil, and only then calls Destroy. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!