def close(self, var_name):
"""
Call this method for each variable name `var_name` to clean up the plotting process
:param var_name: Name of variable to clean up.
"""
topic = pickle.dumps(var_name, protocol=pickle.HIGHEST_PROTOCOL)
messagedata = pickle.dumps(SENTINEL, protocol=pickle.HIGHEST_PROTOCOL)
self.socket.send_multipart([topic, messagedata])
rlogger.debug("Sent close message to topic %s", var_name)
评论列表
文章目录