May 9, 2017
0
0
Garbage collection and variable lifetime tracking
Here is a seemingly simple question for you: Is it possible that the CLR will call a finalizer for an instance when an instance method is still running? In other words, is it possible in the following case to see ‘Finalizing instance.’ before ‘Finished doing something.’? The answer is: “It depends”. In debug builds this will never happen (as far...