From 3b93d5f61b015321c71c07a5054ad8e2ad7207a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szymon=20K=C5=82os?= Date: Fri, 21 Dec 2018 16:13:08 +0100 Subject: [PATCH] Small conditions refactor 2 Change-Id: I11bb3a2ae2907e9cba46f3339b457812c6d1d246 --- kit/Kit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kit/Kit.cpp b/kit/Kit.cpp index ab0adaa6b..181c99d1f 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -1242,7 +1242,7 @@ public: for (auto& it : self->_sessions) { std::shared_ptr session = it.second; - if (session && !it.second->isCloseFrame()) + if (session && !session->isCloseFrame()) { session->loKitCallback(type, payload); }