Fixed CI errors

This commit is contained in:
SChernykh
2024-06-03 19:37:28 +02:00
parent 9cd9055913
commit a188ca7fad
3 changed files with 10 additions and 13 deletions
+9 -5
View File
@@ -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