diff --git a/kit/Kit.cpp b/kit/Kit.cpp index 5ea4ad563..1a36b8fe3 100644 --- a/kit/Kit.cpp +++ b/kit/Kit.cpp @@ -2492,11 +2492,13 @@ void lokit_main( { mainKit.poll(SocketPoll::DefaultPollTimeoutMs); +#ifndef MOBILEAPP if (document && document->purgeSessions() == 0) { LOG_INF("Last session discarded. Setting TerminationFlag"); TerminationFlag = true; } +#endif } LOG_INF("Kit poll terminated.");