On Thu, Aug 20, 2009 at 12:24:06PM +0000, A. Steinhoff wrote:
> 
> <A.Steinhoff> writes:
> 
> > 
> > Hello,
> > 
> > I have modified the scrollbar example in the following way:
> > 
> > int main(int argc, char *argv[])
> > {
> >     
> >     for(;;)
> >     {
> > 
> [clip]        }
> >     return (0);
> > }
> > 
> > After terminating the AG_Eventloop and executing the code again I see the
> > following error message: 
> > 
> > Fatal error: AG_ObjectInit: No such class: AG_Display
> > Aborted
> > 
> > The call AG_LookupClass doesn't the name "AG_DISPLAY".
> > How can I solve that problem?
> > 
> > Regards
> > 
> > --Armin
> 
> Hello,
> 
> the flag initedGlobals seems to be solution. I do now a reset of this flag in
> AG_Destroy. Is this OK ? ... or could it create memory leaks ?

That's ok, it should not create any memory leaks. I've just committed
the fix to svn.

Thanks,

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to