Убраны проверки.

This commit is contained in:
Alexander Zhirov 2026-01-07 13:51:45 +03:00
parent 9162a4212f
commit 1a3c144e80
Signed by: alexander
GPG key ID: C8D8BE544A27C511

View file

@ -100,16 +100,7 @@ private:
public: public:
this(const SessionConfig config = SessionConfig.init) this(const SessionConfig config = SessionConfig.init)
{ {
try _session = new Session(config);
{
_session = new Session(config);
}
catch (Exception e)
{
error("Failed to initialize the session: ", e.msg);
exit(EXIT_FAILURE);
}
_context = ScreenContext(_session); _context = ScreenContext(_session);
} }
@ -134,9 +125,6 @@ public:
// Завершить сессию ncurses. // Завершить сессию ncurses.
_session.close(); _session.close();
info("Engine successfully stopped");
return _result; return _result;
} }
} }