Some time ago I had this issue and did not know what is the problem! My problem was, I try to shutdown thread and it is loop infinitely in some case.
Very unlikely that proposed patch has in reality changed the generated code in any way... It is just cleaner code in case compiler changes in the future.