* ext/tk/sample/irbtkw.rbw: fails to exit process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
92cea77f95
commit
4cd2a9864c
@ -1,3 +1,7 @@
|
|||||||
|
Tue Mar 6 11:53:25 2007 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||||
|
|
||||||
|
* ext/tk/sample/irbtkw.rbw: fails to exit process.
|
||||||
|
|
||||||
Tue Mar 6 10:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Tue Mar 6 10:23:09 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* runruby.rb: added --pure (turned on by default) and --debugger
|
* runruby.rb: added --pure (turned on by default) and --debugger
|
||||||
|
@ -26,7 +26,11 @@ console.yscrollbar(TkScrollbar.new(top, :width=>10).pack(:before=>console,
|
|||||||
:side=>:right,
|
:side=>:right,
|
||||||
:expand=>false,
|
:expand=>false,
|
||||||
:fill=>:y))
|
:fill=>:y))
|
||||||
ev_loop = Thread.new{Tk.mainloop}
|
irb_thread = nil
|
||||||
|
ev_loop = Thread.new{
|
||||||
|
Tk.mainloop
|
||||||
|
irb_thread.kill if irb_thread
|
||||||
|
}
|
||||||
|
|
||||||
# window position control
|
# window position control
|
||||||
root = Tk.root
|
root = Tk.root
|
||||||
@ -116,4 +120,5 @@ console.bind('Control-c'){
|
|||||||
irb_thread.join
|
irb_thread.join
|
||||||
|
|
||||||
# exit
|
# exit
|
||||||
|
ev_thread.kill
|
||||||
Tk.exit
|
Tk.exit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user