summaryrefslogtreecommitdiff
path: root/ext/tk/lib/tk/timer.rb
diff options
context:
space:
mode:
authornagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-14 10:42:46 +0000
committernagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-03-14 10:42:46 +0000
commit44166b6011a9c633616d7c8a31200b94c5a5b871 (patch)
treef7f0335687647faaf9ed6c689d8578daf62e4f6f /ext/tk/lib/tk/timer.rb
parentfe95f1e2ca468907599d252c1f575323e786630a (diff)
* ext/tk/lib/tk/timer.rb (TkTimer): forgot to clear @return_value
when restarting * ext/tk/lib/tk/sample/cd_timer.rb: new sample of TkRTTimer git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk/timer.rb')
-rw-r--r--ext/tk/lib/tk/timer.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/tk/lib/tk/timer.rb b/ext/tk/lib/tk/timer.rb
index aa2272f..87670c9 100644
--- a/ext/tk/lib/tk/timer.rb
+++ b/ext/tk/lib/tk/timer.rb
@@ -353,6 +353,7 @@ class TkTimer
Tk_CBTBL[@id] = self
@do_loop = @loop_exec
@current_pos = 0
+ @return_value = nil
@after_id = nil
@init_sleep = 0