Small conditions refactor 2

Change-Id: I11bb3a2ae2907e9cba46f3339b457812c6d1d246
This commit is contained in:
Szymon Kłos 2018-12-21 16:13:08 +01:00 committed by Jan Holesovsky
parent 8613f11c75
commit 3b93d5f61b

View file

@ -1242,7 +1242,7 @@ public:
for (auto& it : self->_sessions)
{
std::shared_ptr<ChildSession> session = it.second;
if (session && !it.second->isCloseFrame())
if (session && !session->isCloseFrame())
{
session->loKitCallback(type, payload);
}