diff --git a/learning_engine/graph-learn b/learning_engine/graph-learn index 0bb4a2e36cde..4d4f0248a55b 160000 --- a/learning_engine/graph-learn +++ b/learning_engine/graph-learn @@ -1 +1 @@ -Subproject commit 0bb4a2e36cded9d57d5d12ff90d24f3271a6a3b1 +Subproject commit 4d4f0248a55b64d14ec61041d84b09f4e0a6f706 diff --git a/python/graphscope/learning/graph.py b/python/graphscope/learning/graph.py index 19492008ba98..974e5083438d 100644 --- a/python/graphscope/learning/graph.py +++ b/python/graphscope/learning/graph.py @@ -82,9 +82,10 @@ def decode_arg(self, arg): def close(self): if not self.closed: self.closed = True + super(Graph, self).close() # close client first + # close server instance if self.graphscope_session is not None: self.graphscope_session._close_learning_instance(self) - super(Graph, self).close() @staticmethod # noqa: C901 def preprocess_args(handle, nodes, edges, gen_labels): # noqa: C901