Hello Justin,
Your examples look fine if one assumes scope(exit) as relating to function scope.
If you expect scope(exit) to trigger on exiting the function you will be in error. It's called /scope/ exit because it triggers on exit from ANY scope.
Hello Justin,
Your examples look fine if one assumes scope(exit) as relating to function scope.
If you expect scope(exit) to trigger on exiting the function you will be in error. It's called /scope/ exit because it triggers on exit from ANY scope.