Windows Vista Beta | WinVistaBeta.com - Message | Garbage collection and disposing resources

January 06, 2009  
Subject: Garbage collection and disposing resources
Group: microsoft.public.windows.developer.winfx.general
Date: 4/17/2007 3:14:03 AM
From: =?Utf-8?B?Sk4xOTc0?= [Email Address Protection]

Hi,

Is GC and disposing supposed to be handled the same way with WPF objects as
with normal .NET objects?

I'm having with Image not freeing up the source file, but keeping it locked,
even after setting Image.Source to null and deleting the frame where it
resided and forcing the GC to collect. Is there a some other way we're
supposed to do that now?

Back