[Pidgin] #12440: perl Purple::timeout_add multiplies calls to given subroutine (using dummy plugin code from doxygen)

Pidgin trac at pidgin.im
Fri Apr 15 11:13:05 EDT 2011


#12440: perl Purple::timeout_add multiplies calls to given subroutine (using dummy
plugin code from doxygen)
-------------------------+--------------------------------------------------
 Reporter:  marcelser    |        Owner:         
     Type:  defect       |       Status:  new    
Milestone:               |    Component:  plugins
  Version:  2.7.1        |   Resolution:         
 Keywords:  plugins bug  |  
-------------------------+--------------------------------------------------

Comment(by deryni):

 Returning FALSE from the handler will stop the timeout, returning TRUE
 will keep it going. That should be working fine from perl. That being said
 I believe you may need to actually return a true value (possibly a number)
 and not just have your final statement evaluate to true (though this may
 not be true, my perl semantics aren't all that good on this point).

-- 
Ticket URL: <http://developer.pidgin.im/ticket/12440#comment:5>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list