[Webkit-unassigned] [Bug 189335] [RunLoopGeneric] OneShotTimer should not remain "isActive" after fired

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 02:59:46 PDT 2018


--- Comment #13 from Yusuke Suzuki <yusukesuzuki at slowstart.org> ---
Comment on attachment 349292
  --> https://bugs.webkit.org/attachment.cgi?id=349292

View in context: https://bugs.webkit.org/attachment.cgi?id=349292&action=review

> Source/WTF/wtf/generic/RunLoopGeneric.cpp:54
>          if (!m_isRepeating)
> -            return false;
> +            deactivate();

Why do we deactivate the timer before `m_function()` is called?
Cocoa RunLoop says "A non-repeating timer is automatically invalidated after it fires.".

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180910/f105b9dd/attachment.html>

More information about the webkit-unassigned mailing list