Open kingjin94 opened 1 year ago
Tested with:
import meshcat.visualizer
vis = meshcat.visualizer.Visualizer()
vis.close()
prior to this patch vis.close() would fail and a manual killing of vis.window.server_proc would leave various processes running with ZMQbg prefix in htop's COMM / /proc/
Implements closing suggest, e.g., here: https://stackoverflow.com/questions/26224179/zmq-socket-gracefully-termination-in-python
Solves https://github.com/rdeits/meshcat-python/issues/87