We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e6da4 commit c532e43Copy full SHA for c532e43
lib/ruby-debug-ide/interface.rb
@@ -23,17 +23,9 @@ class LocalInterface < Interface
23
24
class RemoteInterface < Interface # :nodoc:
25
attr_accessor :command_queue
26
- #attr_accessor :socket
27
28
def initialize(socket)
29
@socket = socket
30
- class <<@socket
31
- alias close_without_logging close
32
- def close
33
- close_without_logging
34
- $stderr.puts "medvedko is " + ::Kernel.caller(1).join("\n")
35
- end
36
37
@command_queue = Queue.new
38
end
39
@@ -49,7 +41,7 @@ def print(*args)
49
41
50
42
def close
51
43
@socket.close
52
- rescue Exception
44
+ rescue IOError
53
45
54
46
55
47
0 commit comments