super.onDestroy();
if (mPersist) exitForeground();
if (mTorch != null && mTorch.isOn()) {
Timber.w("Torch is still on, shutting it off...");
try {
<BUG>mTorch.toggle(false);
Timber.d("Posting a new TorchStateEvent to the bus.");
mBus.post(new TorchStateEvent(false));</BUG>
} catch (IllegalStateException e) {
Timber.e("Failed to toggle torch off during service destruction!", e);

super.onDestroy();
if (mPersist) exitForeground();
if (mTorch != null && mTorch.isOn()) {
Timber.w("Torch is still on, shutting it off...");
try {
mTorch.toggle(false);
updateUi(false);
} catch (IllegalStateException e) {
Timber.e("Failed to toggle torch off during service destruction!", e);
