brandf's XNA Indie Game blog

pseudo random thoughts, ideas, etc.

Browse by Tags

Tagged Content List
  • Blog Post: Beware of local scoping in .NET

    Last week Jordan Parker and I were looking at a chunk of code that was evidently leaking memory. What we discovered wasn't obvious at first so I thought I'd share it with the world. The code looked something like this: void BackgroundThreadProc() { while ( true ) { _waitEvent.WaitOne(); while...
Page 1 of 1 (1 items)