livemedia-creator: close the socket when done

In some cases the socket may not be closed, so make sure it is to
prevent hangs when shutting down the virt.
This commit is contained in:
Brian C. Lane 2014-07-16 11:50:21 -07:00
parent 668fe3aa4b
commit c875a72020

View File

@ -128,6 +128,7 @@ class LogRequestHandler(SocketServer.BaseRequestHandler):
break break
def finish(self): def finish(self):
self.request.close()
self.fp.close() self.fp.close()
def iserror(self, line): def iserror(self, line):