~vcs-imports-ii/rbot/master

Viewing all changes in revision 2519.

  • Committer: Giuseppe Bilotta
  • Author(s): Matthias H
  • Date: 2013-11-02 10:30:39 UTC
  • Revision ID: git-v1:fa08e1bd0b4c915add758931a5b47d2c74ebddc0
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: