NetworkMessage->GetData fixed Plugin -> Splitted message types PluginManager is now thread safe TcpConnection added list of events Properly handling disconnection now Fixed bug in Socket with error translation It crashes when it exits, i think it has something to do with shared ptrs or something
18 lines
269 B
C++
18 lines
269 B
C++
#include "VoidNet_HL/Plugin/PluginManager.hpp"
|
|
|
|
#include "VoidNet_HL/Plugin/Plugin.hpp"
|
|
|
|
namespace std::net
|
|
{
|
|
PluginManager::PluginManager()
|
|
{
|
|
}
|
|
|
|
PluginManager::~PluginManager()
|
|
{
|
|
for (size_t i = 0; i < m_plugins.size(); i++)
|
|
{
|
|
delete m_plugins[i];
|
|
}
|
|
}
|
|
} |