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

@@ -37,7 +37,7 @@ bool PathRequest::isValid (Ledger::ref lrLedger)
if (bValid)
{
AccountState::pointer asSrc = theApp->getOPs ().getAccountState (lrLedger, raSrcAccount);
AccountState::pointer asSrc = getApp().getOPs ().getAccountState (lrLedger, raSrcAccount);
if (!asSrc)
{
@@ -47,7 +47,7 @@ bool PathRequest::isValid (Ledger::ref lrLedger)
}
else
{
AccountState::pointer asDst = theApp->getOPs ().getAccountState (lrLedger, raDstAccount);
AccountState::pointer asDst = getApp().getOPs ().getAccountState (lrLedger, raDstAccount);
Json::Value jvDestCur;
if (!asDst)