Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 463960
Collapse All | Expand All

(-)webkit.orig/Source/WebKit/gtk/webkit/webkitglobals.cpp (+8 lines)
Lines 564-569 Link Here
564
564
565
    WebCore::SchemeRegistry::registerURLSchemeAsLocal("resource");
565
    WebCore::SchemeRegistry::registerURLSchemeAsLocal("resource");
566
566
567
    // http://osdyson.org/issues/161
568
    // WebKitGTK FTBFS when building GObject introspection due to deadlock.
569
    // When gobject introspection is done, a simple program call exit()
570
    // exit() -> webkitExit() -> g_object_unref() -> webkit_get_default_session()
571
    // -> ResourceHandle::defaultSession() => default session doesn't exist! AND
572
    // we try to create it! Thus deadlock. So, create default session earlier:
573
    (void) webkit_get_default_session();
574
567
    atexit(webkitExit);
575
    atexit(webkitExit);
568
}
576
}

Return to bug 463960