Transform global variable really_exiting into static.
Merge pull request #1718 from jonaias/master

Transform global variable really_exiting into static.