dohlog 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/doh/log/stream_acceptor.rb +2 -4
- metadata +1 -1
@@ -3,9 +3,8 @@ module DohLog
|
|
3
3
|
class StreamAcceptor
|
4
4
|
attr_reader :ios
|
5
5
|
|
6
|
-
def initialize(
|
7
|
-
@ios = ios
|
8
|
-
@ios.sync = flush
|
6
|
+
def initialize(ios)
|
7
|
+
@ios = ios
|
9
8
|
end
|
10
9
|
|
11
10
|
def add(event)
|
@@ -13,7 +12,6 @@ class StreamAcceptor
|
|
13
12
|
end
|
14
13
|
|
15
14
|
def shutdown
|
16
|
-
@ios.close
|
17
15
|
@ios = nil
|
18
16
|
end
|
19
17
|
end
|