RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TQueue.Destroy Destructor

Destroy queue.

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

This method clears the queue using Clear and destroys it.

Note: Clear does not free the items as they are dequeued. If you need to free them, use the OnNotify event, which occurs for every item dequeued and provides the dequeued item.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!