Fix close/shutdown issue

git-svn-id: file:///home/svn/framework3/trunk@8415 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-02-08 20:44:59 +00:00
parent 2860d57e01
commit 885e396c4d
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class Service < ::XMLRPC::BasicServer
def on_client_data(c)
data = c.get_once(-1)
if(not data)
self.c.close
c.close
return
end
self.state[c] << data