Disable console (for #2665).

This commit is contained in:
hiker 2016-11-09 23:06:17 +11:00
parent 0c0581f97a
commit 64d2d43f5b

View File

@ -47,7 +47,7 @@
#include <signal.h>
STKHost *STKHost::m_stk_host = NULL;
bool STKHost::m_enable_console = true;
bool STKHost::m_enable_console = false;
void STKHost::create()
{
@ -323,6 +323,7 @@ void STKHost::init()
ProtocolManager::getInstance<ProtocolManager>();
// Optional: start the network console
m_network_console = NULL;
if(m_enable_console)
{
m_network_console = new NetworkConsole();