solve the memory leak problem of web-demo

This commit is contained in:
ZhihengCV 2015-11-28 11:13:40 +08:00
parent 09577c5d06
commit 334461d34f
1 changed files with 1 additions and 0 deletions

View File

@ -355,6 +355,7 @@ class OpenFaceServerProtocol(WebSocketServerProtocol):
"type": "ANNOTATED", "type": "ANNOTATED",
"content": content "content": content
} }
plt.close()
self.sendMessage(json.dumps(msg)) self.sendMessage(json.dumps(msg))
if __name__ == '__main__': if __name__ == '__main__':