mirror of
https://github.com/wownero/p2pool-wow.git
synced 2026-11-11 02:24:05 +01:00
ConsoleCommands: check if console is available
This commit is contained in:
+8
-1
@@ -156,7 +156,14 @@ p2pool::p2pool(int argc, char* argv[])
|
||||
|
||||
m_blockTemplate = new BlockTemplate(this);
|
||||
m_mempool = new Mempool();
|
||||
m_consoleCommands = new ConsoleCommands(this);
|
||||
|
||||
try {
|
||||
m_consoleCommands = new ConsoleCommands(this);
|
||||
}
|
||||
catch (...) {
|
||||
LOGERR(1, "Couldn't start console commands handler");
|
||||
m_consoleCommands = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
p2pool::~p2pool()
|
||||
|
||||
Reference in New Issue
Block a user