Cleanly destroy Application on exit

This commit is contained in:
Vinnie Falco
2013-06-30 04:21:07 -07:00
parent 68179cfce3
commit 0deaeb1000
42 changed files with 949 additions and 926 deletions

View File

@@ -94,10 +94,10 @@ TER ChangeTransactor::applyFeature ()
featureObject->setFieldV256 (sfFeatures, features);
mEngine->entryModify (featureObject);
theApp->getFeatureTable ().enableFeature (feature);
getApp().getFeatureTable ().enableFeature (feature);
if (!theApp->getFeatureTable ().isFeatureSupported (feature))
theApp->getOPs ().setFeatureBlocked ();
if (!getApp().getFeatureTable ().isFeatureSupported (feature))
getApp().getOPs ().setFeatureBlocked ();
return tesSUCCESS;
}