Quoting Antonino Daplas ([EMAIL PROTECTED]): > Hi, > > I've noticed that the directfb port of gtk+ does not clean up properly. > The driver_close_driver and driver_close_device are not called at all. > For most gfxdrivers, this should not pose a significant problem since > they just do munmaps at this stage. The gfxdriver I'm writing, though, > has to allocate a significantly sized instruction buffer, and it does > not get released on exit. > > I've traced this problem to gdk where the g_atexit handler is not > installed (so this problem, if this is a problem at all, lies with the > gtk+ people). However, is there a way to ensure that the gfxdrivers > clean up properly on exit?
I just committed a change to the atexit handler of DirectFB that does a normal shutdown now which includes driver_close calls. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" convergence integrated media GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
