Location: Symbol Reference > Functions > JwFreeThreadName Function
JWSCL Documentation
ContentsIndexHome
PreviousUpNext
JwFreeThreadName Function
Pascal
procedure JwFreeThreadName;

JwFreeThreadName frees the thread variable allocated by JwSetThreadName. This procedure must be call at the end of thread to avoid a memory leak in some situation.

This procedure is not always necessary. Although it is told otherwise, it seems that Delphi sometimes cleans up the memory. However if you use TJwThread the cleanup is done automatically.

Copyright (c) 2010. All rights reserved.
This help was created by Doc-O-Matic sponsored by toolsfactory software inc.
What do you think about this topic? Send feedback!