erratum V?

This commit is contained in:
Marc-Éric Martel 2023-10-26 17:18:30 -04:00
parent 2f2b49054f
commit 05f9658f55

View File

@ -222,6 +222,8 @@ void Server::Log(std::string str, bool is_error = false, bool is_fatal = false)
}
if (is_fatal) {
if (m_logfile.is_open())
m_logfile.close();
if (m_sock_udp)
closesocket(m_sock_udp);
if (m_sock_tcp)