The attached LLB provides custom shortcut menu when users right-click on lvclass wires on the BD. It inserts a new "Insert Class Method" menu immediately below the default "Insert" menu item, with individual submenu items for every method VI of the class library.
Initial testing works pretty well, with the following (major) caveat: any time I use this shortcut menu option and then later quit labview, I end up getting LV Crash Report dialogs.
The crash logs always reference the following DWarn:
I think the problem is that the lvclass libraries are getting pulled into the application context of the menu builder, and even though I have tried closing all the VI server references explicitly, as well as using "request deallocation" (per the suggestion in the Intro powerpoint), I still keep seeing the crash behavior.
Does anyone have any suggestions for what can be done to avoid the crashing?