You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The viewmodel.dispose() method would been called by wpf window_Closed method.
The issue is:
After I using the getDoc method, then closed the window, the events never been released. It always be called until I closed the solidworks application.
The text was updated successfully, but these errors were encountered:
It's a addin application for solidworks, which contains a wpf window with the viewmodel .
In the viewmodel, I add two events by using the below code:
And another function which is getDoc method in the viewmodel, I use the linq statements to get the doc:
In the viewmodel.dispose() method, it will release the event:
The viewmodel.dispose() method would been called by wpf window_Closed method.
The issue is:
After I using the getDoc method, then closed the window, the events never been released. It always be called until I closed the solidworks application.
The text was updated successfully, but these errors were encountered: