[Webkit-unassigned] [Bug 57611] New: [GTK] Do not destroy WorkQueue event sources unless they have been cancelled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 1 03:20:19 PDT 2011


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

           Summary: [GTK] Do not destroy WorkQueue event sources unless
                    they have been cancelled
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: cgarcia at igalia.com


We are currently returning FALSE from performWork() when condition contains HUP or ERR which makes the source to be destroyed, but it's not removed from the event source list. When unregisterEventSourceHandler() is called the source might be destroyed already. To avoid that we can simply return TRUE from the callback unless it has been cancelled (condition = 0) which happens in unregisterEventSourceHandler().

-- 
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