solve the memory leak problem of web-demo
This commit is contained in:
parent
09577c5d06
commit
334461d34f
|
@ -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__':
|
||||||
|
|
Loading…
Reference in New Issue