mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-14 03:06:35 +02:00
Merge pull request #7718 from zzmp/fix/release-motion-states
Remove myAvatar motion states on shutdown
This commit is contained in:
commit
c35ddccba1
1 changed files with 1 additions and 4 deletions
|
@ -254,10 +254,7 @@ void AvatarManager::clearAllAvatars() {
|
|||
|
||||
QWriteLocker locker(&_hashLock);
|
||||
|
||||
_myAvatar->die();
|
||||
_myAvatar.reset();
|
||||
|
||||
_avatarHash.clear();
|
||||
handleRemovedAvatar(_myAvatar);
|
||||
}
|
||||
|
||||
void AvatarManager::setLocalLights(const QVector<AvatarManager::LocalLight>& localLights) {
|
||||
|
|
Loading…
Reference in a new issue