[webkit-help] how to release resources of directfb when GtkLauncher quit

wenmhappy wenmhappy at 126.com
Thu Dec 29 01:38:26 PST 2011

        I hope that all resources  of directfb will be released when gtk_main() (in GtkLauncher's main() ) is over,  but  there is error
in directfb when I run main() again.  I did it like the following.
        when catched the key of quit of remote control,  i  call g_signal_emit_by_name(main_window, "destroy", 0, G_TYPE_NONE);
     then static void destroy_cb (GtkWidget* widget, gpointer data) will be called. Thus gtk_main() is over. But  I  don`t find IDirectFB_Destruct() has been called.  How to release top window and directfb?
thank you for help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111229/fa3f186c/attachment.html>

More information about the webkit-help mailing list