dango 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/dango/server_framework.rb +5 -2
- data/lib/dango/version.rb +1 -1
- metadata +2 -2
@@ -469,12 +469,15 @@ EOF
|
|
469
469
|
ensure
|
470
470
|
socket_list.delete(sid) # ソケットリストから削除
|
471
471
|
begin
|
472
|
-
sock.close if !sock.closed? # ソケットを閉じる
|
472
|
+
# sock.close if !sock.closed? # ソケットを閉じる
|
473
|
+
sock.close # ソケットを閉じる
|
473
474
|
rescue IOError
|
474
|
-
logger.error "IOError #{sock} #{sid}"
|
475
|
+
# logger.error "IOError #{sock} #{sid}"
|
476
|
+
logger.error "#{sock.inspect} #{sid} ERROR\n#{error_message($!, 'u')}"
|
475
477
|
end
|
476
478
|
|
477
479
|
logger.info "#{sock.inspect} #{sid} is closed"
|
480
|
+
sock = nil
|
478
481
|
end
|
479
482
|
end
|
480
483
|
|
data/lib/dango/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dango
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keisuke Minami
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-28 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|