[Webkit-unassigned] [Bug 62380] [EFL] correct sharedTimer value in SharedTimerEfl.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 15:15:02 PDT 2011


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


Henry Song <hsong at sisa.samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96646|0                           |1
        is obsolete|                            |
  Attachment #96646|review?, commit-queue?      |
               Flag|                            |
  Attachment #96651|                            |review?, commit-queue?
               Flag|                            |




--- Comment #12 from Henry Song <hsong at sisa.samsung.com>  2011-06-09 15:15:01 PST ---
Created an attachment (id=96651)
 --> (https://bugs.webkit.org/attachment.cgi?id=96651&action=review)
remove _sharedTimer = 0 in timerEvent()

Both stopSharedTimer() and addNewTimer() can be called within timerFunction() in timerEvent().  If addNewTimer() is called, the static _sharedTimer object is replaced with new timer object.  If set it to 0 after timerFunction() returns, the new timer object is lost and cannot be deleted in later stopSharedTimer().  This is similar to how it is implemented in SharedTimerGtk.cpp for GTK port.

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