mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
clear the FreeVerb object before reuse
This commit is contained in:
parent
417638c29d
commit
d56881f425
1 changed files with 3 additions and 0 deletions
|
@ -299,6 +299,9 @@ int main(int argc, const char* argv[]) {
|
|||
|
||||
memcpy(clientPacket + 1, clientSamples, sizeof(clientSamples));
|
||||
agentList->getAgentSocket()->send(agent->getPublicSocket(), clientPacket, BUFFER_LENGTH_BYTES + 1);
|
||||
|
||||
// clear the FreeVerb to be re-used on next iteration
|
||||
freeVerb.clear();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue