Update
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
This commit is contained in:
@ -89,7 +89,9 @@ namespace std::net
|
||||
template<typename T>
|
||||
T *GetData() const
|
||||
{
|
||||
return (T*)m_data;
|
||||
if (m_data)
|
||||
return (T*)m_data;
|
||||
else return nullptr;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user