Убраны проверки.
This commit is contained in:
parent
9162a4212f
commit
1a3c144e80
1 changed files with 1 additions and 13 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue