|
@@ -430,6 +430,7 @@ release_new() {
|
|
|
#ifndef NDEBUG
|
|
#ifndef NDEBUG
|
|
|
nassertd(_attribs->find(this) == _saved_entry) {
|
|
nassertd(_attribs->find(this) == _saved_entry) {
|
|
|
cerr << "Tried to release " << *this << " (" << (void *)this << "), not found!\n";
|
|
cerr << "Tried to release " << *this << " (" << (void *)this << "), not found!\n";
|
|
|
|
|
+ validate_attribs();
|
|
|
Attribs::const_iterator si = _attribs->begin();
|
|
Attribs::const_iterator si = _attribs->begin();
|
|
|
if (si == _attribs->end()) {
|
|
if (si == _attribs->end()) {
|
|
|
cerr << " Attribs list is empty.\n";
|
|
cerr << " Attribs list is empty.\n";
|