-
Автор темы
- #1
Exception thrown: read access violation.
**Interfaces::Client** was nullptr. occurred
somebody?
**Interfaces::Client** was nullptr. occurred
C++:
void CNetVarManager::init()
{
tables.clear();
ClientClass* client = Interfaces::Client->GetAllClasses();
if ( !client )
return;
while ( client )
{
auto recvTable = client->m_pRecvTable;
if ( recvTable )
tables.emplace( std::string( client->m_pNetworkName ), recvTable );
client = client->m_pNext;
}
}