Protect avatarLock.

This commit is contained in:
Howard Stearns 2015-09-09 11:11:06 -07:00
parent 3f5744712f
commit 83d14d3380

View file

@ -324,8 +324,6 @@ public:
bool shouldDie() const { return _owningAvatarMixer.isNull() || getUsecsSinceLastUpdate() > AVATAR_SILENCE_THRESHOLD_USECS; }
QMutex avatarLock; // Name is redundant, but it aids searches.
public slots:
void sendAvatarDataPacket();
void sendIdentityPacket();
@ -424,6 +422,8 @@ protected:
SimpleMovingAverage _averageBytesReceived;
QMutex avatarLock; // Name is redundant, but it aids searches.
private:
static QUrl _defaultFullAvatarModelUrl;
// privatize the copy constructor and assignment operator so they cannot be called