OnGraphClose

Metro calls the annotated graph function when the graph closes. Metro injects the function's parameters when it calls the function.