Open drjdpowell opened 1 year ago
Thanks for pointing this out, looks like it's time to develop some new habits and break my reliance on my easily placed snippets heh.
After reading through the linked discussion (and the NotARef discussion linked there) I'm thinking the best approach would be to open the reference during the Ctor call, cache it in the class data, and then reusing that reference from then on.
This ensures the following:
The Async called VIs are vulnerable to Root Loop blocking. This means that the User leaving a menu open will block new TCP connections. Solution is to cache a single VI reference. See how the Actor Framework does it in "Launch Actor". See original conversation where this was developed.