mirror of
https://github.com/lubosz/overte.git
synced 2025-08-14 03:14:30 +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() {
|
Avatar::~Avatar() {
|
||||||
|
assert(_motionState == nullptr);
|
||||||
for(auto attachment : _unusedAttachments) {
|
for(auto attachment : _unusedAttachments) {
|
||||||
delete attachment;
|
delete attachment;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue