Hi Nick,
That's a valid suggestion for the LabVIEW developers (post it using the "feedback" link on
ni.com/contact), but I'm afraid that it would invite customers to mess up things by not keeping references in a short leash and closing in the right order when done.
In case you want the closest to this kind of feature, try the Request Deallocation function and place it inside the VI that holds the references. When that VI finishes and returns to the caller, all unused memory will be deallocated.
- Philip Courtois, Thinkbot Solutions