Replying to self since I can't edit: d'oh. Yes, I totally mis-read the original code. I should have relized why the other comment questioning this practice had been down-voted, heh.
Of course not unlocking the mutex in non-debug builds would be a problem.
Of course not unlocking the mutex in non-debug builds would be a problem.
Thanks, and sorry.