Merge "Fixes a bug in sessionCheck() for all adapters"
This commit is contained in:
commit
82a61b65d6
1 changed files with 5 additions and 1 deletions
|
@ -123,7 +123,11 @@ bool LocApiBase::isInSession()
|
||||||
{
|
{
|
||||||
bool inSession = false;
|
bool inSession = false;
|
||||||
|
|
||||||
TO_ALL_LOCADAPTERS(inSession = mLocAdapters[i]->isInSession());
|
for (int i = 0;
|
||||||
|
!inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i];
|
||||||
|
i++) {
|
||||||
|
inSession = mLocAdapters[i]->isInSession();
|
||||||
|
}
|
||||||
|
|
||||||
return inSession;
|
return inSession;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue