assert AvatarMotionState unhooked before delete

This commit is contained in:
Andrew Meadows 2015-06-22 15:40:02 -07:00
parent 98f7b0a689
commit b7c728a794

View file

@ -107,6 +107,7 @@ Avatar::Avatar() :
}
Avatar::~Avatar() {
assert(_motionState == nullptr);
for(auto attachment : _unusedAttachments) {
delete attachment;
}