refactor: format project
This commit is contained in:
@@ -29,12 +29,12 @@ void Server::startThread() {
|
||||
}
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
void Server::stopThread(){
|
||||
void Server::stopThread() {
|
||||
m_ServerRunning = false;
|
||||
if(m_Thread.joinable())
|
||||
if (m_Thread.joinable())
|
||||
m_Thread.join();
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ bool Server::start(std::uint16_t port) {
|
||||
}
|
||||
|
||||
void Server::stop() {
|
||||
if(!m_ServerRunning)
|
||||
if (!m_ServerRunning)
|
||||
return;
|
||||
stopThread();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user