summaryrefslogtreecommitdiff
path: root/lib/tk.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tk.rb')
-rw-r--r--lib/tk.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/tk.rb b/lib/tk.rb
index b10274100d2..1f6d0ef7f5d 100644
--- a/lib/tk.rb
+++ b/lib/tk.rb
@@ -268,13 +268,6 @@ module TkCore
end
def mainloop
- if defined?(Thread)
- INTERP._eval("proc rb_after {} {
- ruby {Thread.pass};
- after 200 rb_after
- }")
- INTERP._eval("rb_after")
- end
TclTkLib.mainloop
end