Fixed CI errors
This commit is contained in:
@@ -126,11 +126,6 @@ ConsoleCommands::ConsoleCommands(p2pool* pool)
|
||||
m_loopThreadCreated = true;
|
||||
}
|
||||
|
||||
ConsoleCommands::~ConsoleCommands()
|
||||
{
|
||||
shutdown_tcp();
|
||||
}
|
||||
|
||||
void ConsoleCommands::on_shutdown()
|
||||
{
|
||||
if (m_stdin_handle) {
|
||||
@@ -406,4 +401,13 @@ void ConsoleCommands::process_input(std::string& command, char* data, uint32_t s
|
||||
} while (true);
|
||||
}
|
||||
|
||||
ConsoleCommands::~ConsoleCommands()
|
||||
{
|
||||
#ifdef DEV_TEST_SYNC
|
||||
do_status(m_pool, nullptr);
|
||||
#endif
|
||||
|
||||
shutdown_tcp();
|
||||
}
|
||||
|
||||
} // namespace p2pool
|
||||
|
||||
Reference in New Issue
Block a user