Re: GStackCriticalSection

Giganews Newsgroups
Subject: Re: GStackCriticalSection
Posted by:  Chad Z. Hower aka Kudzu (cp…@hower.org)
Date: Thu, 4 Mar 2004

"Rex Bloom" <r…@kalos-inc.com> wrote in news:0F4990E34E94E240rex@kalos-
inc.com:
> BCB5, Indy 9.0.14
>  // Dont Free. If shutdown is from another Init section, it can cause GPF
> when stack
>  // tries to access it. App will kill it off anyways, so just let it leak
>  // FreeAndNil(GStackCriticalSection);
>
> I get CodeGuard errors with this line commented out.  Is there a certain
> situation / components used that
> will cause this to be an error?

It just depends on order of init - its not something eaisly fixable and since
Windows cleans it up anyways we just let it go.

Replies

None

In response to

GStackCriticalSection posted by Rex Bloom on Thu, 4 Mar 2004