summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/spotify.rb
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2013-09-04 02:38:10 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2013-11-02 11:30:39 +0100
commitfa08e1bd0b4c915add758931a5b47d2c74ebddc0 (patch)
tree5d8477f27d04daa91f77faf4d075f214442b9566 /data/rbot/plugins/spotify.rb
parente9b652aa2a047557aaa1a68278d9d402f56d45b2 (diff)
ruby 2.0.0: changes sigtrapping, fixes ThreadError
Ruby 2.0.0 crashes with "ThreadError: can't be called from trap context" anytime a signal is received, because it tries to write a debug message within the "trap context". This changes signal handling so that signals are queued and processed in the main loop. More information: https://www.ruby-forum.com/topic/4411227
Diffstat (limited to 'data/rbot/plugins/spotify.rb')
0 files changed, 0 insertions, 0 deletions