summaryrefslogtreecommitdiffstats
path: root/ext/tk/lib
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
commitace283e2aa58680b186997ee7dbcee3ebfec0751 (patch)
treef7f0335687647faaf9ed6c689d8578daf62e4f6f /ext/tk/lib
parent33eba44a69d3e4b5a6b0ae61224d0673917ca301 (diff)
downloadruby-ace283e2aa58680b186997ee7dbcee3ebfec0751.tar.gz
ruby-ace283e2aa58680b186997ee7dbcee3ebfec0751.tar.xz
ruby-ace283e2aa58680b186997ee7dbcee3ebfec0751.zip
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib')
-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 aa2272f9b..87670c962 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