Changeset 638

Show
Ignore:
Timestamp:
01/02/08 20:37:30 (11 months ago)
Author:
blackhedd
Message:

pulled rescue clause in main loop. It's not a bad idea but it regressed some of the unit tests.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • version_0/lib/eventmachine.rb

    r637 r638  
    214214        # a C++ runtime error. 
    215215        # 
    216         # Provisionally added a brain-dead rescue block to signal errors raised by user-written 
    217         # code called in event handlers. Otherwise very confusing errors result. 
    218         # 
    219216        def EventMachine::run &block 
    220217                @conns = {} 
     
    226223                        block and add_timer 0, block 
    227224                        run_machine 
    228                 rescue 
    229                         STDERR.puts "#{$!}" 
    230225                ensure 
    231226                        release_machine