erratum V?
This commit is contained in:
parent
2f2b49054f
commit
05f9658f55
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user