This project has moved and is read-only. For the latest updates, please go here.

How to Dispose - ExportFactory for the desktop

Jul 12, 2010 at 12:39 PM

hi i use the ExportFactory<> from Glenn Block (  in my testapp. all works fine, but how can i dispose my viewmodels?

i tried this:


private ExportLifetimeContext<INonShared> lastbatch;




the dispose method is called for my viewmodels, but the destructor is not. do i miss anything?