mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
assert AvatarMotionState unhooked before delete
This commit is contained in:
parent
98f7b0a689
commit
b7c728a794
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ Avatar::Avatar() :
|
|||
}
|
||||
|
||||
Avatar::~Avatar() {
|
||||
assert(_motionState == nullptr);
|
||||
for(auto attachment : _unusedAttachments) {
|
||||
delete attachment;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue