1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 19:20:19 +01:00

Added explicit environment closing (#129)

This commit is contained in:
Thom Lane
2018-11-22 04:25:03 -08:00
committed by Gal Leibovich
parent 16cdd9a9c1
commit 949d91321a
4 changed files with 26 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ def start_graph(graph_manager: 'GraphManager', task_parameters: 'TaskParameters'
graph_manager.evaluate(EnvironmentSteps(sys.maxsize))
else:
graph_manager.improve()
graph_manager.close()
def handle_distributed_coach_tasks(graph_manager, args):