Click here to Skip to main content
15,880,608 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: The property grid in the WPF designer Pin
TJoe5-Feb-08 2:39
TJoe5-Feb-08 2:39 
GeneralRe: The property grid in the WPF designer Pin
jesarg5-Feb-08 5:24
jesarg5-Feb-08 5:24 
GeneralRe: The property grid in the WPF designer Pin
TJoe5-Feb-08 5:30
TJoe5-Feb-08 5:30 
QuestionCleaning up resouces in a WPF application Pin
Simon P Stevens4-Feb-08 3:46
Simon P Stevens4-Feb-08 3:46 
AnswerRe: Cleaning up resouces in a WPF application Pin
TJoe5-Feb-08 2:55
TJoe5-Feb-08 2:55 
GeneralRe: Cleaning up resouces in a WPF application Pin
Simon P Stevens5-Feb-08 23:15
Simon P Stevens5-Feb-08 23:15 
GeneralRe: Cleaning up resouces in a WPF application Pin
TJoe6-Feb-08 2:14
TJoe6-Feb-08 2:14 
GeneralRe: Cleaning up resouces in a WPF application Pin
Simon P Stevens6-Feb-08 10:33
Simon P Stevens6-Feb-08 10:33 
Sorry, thats not what I meant, I'm not very good at explaining.

Yes the finalizer is getting called, and yes that triggers the dispose method, but following the pattern, it calls the dispose method and passes false, which means it doesn't clean up managed resources, instead they are left for their own finalizers to be triggered to clean them up, and so on, which means my whole stack of objects are all left waiting for their finalisers to clean them up which is a bit messy, which is what I meant when I said "it won't get disposed of...all that happens is the finaliser gets triggered."

Also, finalizers aren't guranteed to be called.

I think the way I've done it is the best solution, I get deterministic clean up, and no worries about relying on the finaliser.

Thanks for helping.

Simon

GeneralXAML/WPF rotation of a textbox Pin
Don Rolando3-Feb-08 22:57
Don Rolando3-Feb-08 22:57 
GeneralRe: XAML/WPF rotation of a textbox Pin
TJoe4-Feb-08 9:45
TJoe4-Feb-08 9:45 
GeneralMessage box in asp.net Pin
Milind Panchal1-Feb-08 23:22
Milind Panchal1-Feb-08 23:22 
GeneralRe: Message box in asp.net Pin
pmarfleet2-Feb-08 4:51
pmarfleet2-Feb-08 4:51 
GeneralRe: Message box in asp.net Pin
Navdeep Bhardwaj4-Feb-08 23:34
Navdeep Bhardwaj4-Feb-08 23:34 
GeneralRegarding certification....... Pin
tasumisra31-Jan-08 19:34
tasumisra31-Jan-08 19:34 
GeneralRe: Regarding certification....... Pin
pmarfleet1-Feb-08 23:12
pmarfleet1-Feb-08 23:12 
AnswerRe: Regarding certification....... Pin
Vasudevan Deepak Kumar5-Feb-08 22:09
Vasudevan Deepak Kumar5-Feb-08 22:09 
GeneralMonitor creation of threads or message queues Pin
schwiemn31-Jan-08 13:44
schwiemn31-Jan-08 13:44 
GeneralRe: Monitor creation of threads or message queues Pin
S. Senthil Kumar1-Feb-08 19:21
S. Senthil Kumar1-Feb-08 19:21 
GeneralWCF Pin
hichamveo31-Jan-08 11:07
hichamveo31-Jan-08 11:07 
GeneralRe: WCF Pin
Joachim Kerschbaumer6-Feb-08 4:07
Joachim Kerschbaumer6-Feb-08 4:07 
QuestionYour thoughts about .Net Reactor Pin
Jiaan31-Jan-08 8:29
Jiaan31-Jan-08 8:29 
GeneralRe: Your thoughts about .Net Reactor Pin
Mark Churchill1-Feb-08 3:18
Mark Churchill1-Feb-08 3:18 
GeneralRe: Your thoughts about .Net Reactor Pin
Jiaan1-Feb-08 3:30
Jiaan1-Feb-08 3:30 
GeneralRe: Your thoughts about .Net Reactor Pin
Mark Churchill1-Feb-08 3:47
Mark Churchill1-Feb-08 3:47 
GeneralRe: Your thoughts about .Net Reactor Pin
Jiaan1-Feb-08 3:55
Jiaan1-Feb-08 3:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.