]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit - lib/rbot/ircbot.rb
ruby 2.0.0: better fix for the ThreadError
authorMatthias H <apoc@sixserv.org>
Wed, 18 Sep 2013 01:18:13 +0000 (03:18 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 2 Nov 2013 10:30:39 +0000 (11:30 +0100)
commit6355305f4375b72b457d66304ac001c7bd89144c
tree3409ec1c15a3bf7953d194e3285bbcb733a362e5
parentfa08e1bd0b4c915add758931a5b47d2c74ebddc0
ruby 2.0.0: better fix for the ThreadError

I revisited my fix for the ThreadError in ruby 2.0.0
this doesn't use a queue for signals but just starts a
thread for each received signal, works much better for me.

It also fixes a bug in Bot#reconnect where the SystemExit
exception coming from quit is not handled correctly.
lib/rbot/ircbot.rb