RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamedConnection.Destroy Destructor

Disposes of a TStreamedConnection instance.

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

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

Destroy ensures that the connection to the server is closed. It then frees all resources and helper objects before calling the inherited destructor. 

 

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