Small refactor of conditions
Change-Id: Id3884d8385bf1c138eef2909220bfef352b95370
This commit is contained in:
parent
d30ade3ff3
commit
8613f11c75
1 changed files with 2 additions and 5 deletions
|
@ -1242,12 +1242,9 @@ public:
|
|||
for (auto& it : self->_sessions)
|
||||
{
|
||||
std::shared_ptr<ChildSession> session = it.second;
|
||||
if (session)
|
||||
if (session && !it.second->isCloseFrame())
|
||||
{
|
||||
if (!it.second->isCloseFrame())
|
||||
{
|
||||
session->loKitCallback(type, payload);
|
||||
}
|
||||
session->loKitCallback(type, payload);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue