RUBY-436 Handle IRB::Abort Exception

This commit is contained in:
Tyler Brock 2012-04-23 16:58:11 -04:00
parent ecafeed637
commit 4c717f0873
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ module Mongo
send_message_on_socket(packed_message, sock)
result = receive(sock, request_id, exhaust)
rescue SystemStackError, NoMemoryError, SystemCallError => ex
rescue SystemStackError, NoMemoryError, SystemCallError, IRB::Abort => ex
close
raise ex
ensure