SocketMgr::~SocketMgr()
{
	ShutdownThreads();

	if (m_hThreads != NULL)
		delete [] m_hThreads;

	DecRef();
}
Beispiel #2
0
void SocketMgr::Shutdown()
{
	if (m_bShutdown)
		return;

	ShutdownThreads();

	DecRef();
	m_bShutdown = true;
}2
Beispiel #3
0
ThreadPool::~ThreadPool()
{
	ShutdownThreads((u32)_threads.size());
	tlog::debug() << "All threads terminated.";
}