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

@@ -712,7 +712,7 @@ TER OfferCreateTransactor::doApply ()
CondLog (tesSUCCESS != terResult, lsINFO, OfferCreateTransactor) << boost::str (boost::format ("OfferCreate: final terResult=%s") % transToken (terResult));
if (isTesSuccess (terResult))
theApp->getOrderBookDB ().invalidate ();
getApp().getOrderBookDB ().invalidate ();
return terResult;
}