How to Dispose - ExportFactory for the desktop

Jul 12, 2010 at 11:39 AM

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?