See #2717. Fixes session reaping (VNC, specifically)
git-svn-id: file:///home/svn/framework3/trunk@10502 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ddb2f71674
commit
7409e34738
|
@ -30,12 +30,6 @@ class SessionManager < Hash
|
||||||
wlog("Session #{s.sid} has died")
|
wlog("Session #{s.sid} has died")
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
if s.respond_to?('rstream') and s.rstream and s.rstream.eof?
|
|
||||||
deregister(s, "Died - EOF")
|
|
||||||
wlog("Session #{s.sid} has died - EOF")
|
|
||||||
next
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
rescue ::Exception => e
|
rescue ::Exception => e
|
||||||
|
|
Loading…
Reference in New Issue