[Webkit-unassigned] [Bug 136923] New: [GTK] Dot not allow to create delete-on-destroy GMainLoopSources

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 18 08:09:35 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=136923

           Summary: [GTK] Dot not allow to create delete-on-destroy
                    GMainLoopSources
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com
                CC: gns at gnome.org, zandobersek at gmail.com


We have several asserts to ensure that delete-on-destroy sources are not misused, like not scheduling socket sources on a delete on destroy GMainLoopSource or not allowing to cancel them before they have been dispatched. It would be better if we can ensure all those things at compile time, so instead of having  static method to create a delete-on-destroy source with all the API available, we could add static methods to schedule sources creating a delete-on-destroy GMainLoopSource that is not returned to the user.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list