System.SysUtils.TSimpleRWSync.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TSimpleRWSync();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | TSimpleRWSync |
Description
Frees the instance of a TSimpleRWSync class.
Destroy releases the internal critical section used for locking and makes all threads waiting for a lock to continue executing.
Note: This is not safe and you should always be sure that the instance of TSimpleRWSync is not in use anymore.
Do not call Destroy directly. Use the Free method to destroy the object.