wKovacs64/mTorch — pull request #3 by BMc08GT (2014-10-24 13:41:43+00:00)
Title: Set torch to off onDestroy(), fixes #2

In the off case the application is restarted to quickly, it hasn't destroyed the surface yet. Setting torch to off onDestroy() allows mIsTorchOn to return false when starting back up, thus allowing autoOn to turn it back on, instead of turning it off.