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",
|
||||
"content": content
|
||||
}
|
||||
plt.close()
|
||||
self.sendMessage(json.dumps(msg))
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue