Merge pull request #15673 from SimonWalton-HiFi/avatar-identity-inactive-socket

Don't send AvatarIdentity from mixer if socket inactive
This commit is contained in:
Shannon Romano 2019-06-04 13:08:37 -07:00 committed by GitHub
commit a79d3ea9c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -365,7 +365,7 @@ void AvatarMixer::manageIdentityData(const SharedNodePointer& node) {
// there is no need to manage identity data we haven't received yet
// so bail early if we've never received an identity packet for this avatar
if (!nodeData || !nodeData->getAvatar().hasProcessedFirstIdentity()) {
if (!nodeData || !nodeData->getAvatar().hasProcessedFirstIdentity() || !node->getActiveSocket()) {
return;
}