Fix close/shutdown issue
git-svn-id: file:///home/svn/framework3/trunk@8415 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
2860d57e01
commit
885e396c4d
|
@ -55,7 +55,7 @@ class Service < ::XMLRPC::BasicServer
|
||||||
def on_client_data(c)
|
def on_client_data(c)
|
||||||
data = c.get_once(-1)
|
data = c.get_once(-1)
|
||||||
if(not data)
|
if(not data)
|
||||||
self.c.close
|
c.close
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
self.state[c] << data
|
self.state[c] << data
|
||||||
|
|
Loading…
Reference in New Issue