mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fix crash at exit
This commit is contained in:
parent
f50ffc0672
commit
20d03e0992
@ -67,7 +67,7 @@ InternalName(InternalName *parent, const string &basename) :
|
||||
InternalName::
|
||||
~InternalName() {
|
||||
#ifndef NDEBUG
|
||||
{
|
||||
if (_parent != (const InternalName *)NULL) {
|
||||
// unref() should have removed us from our parent's table already.
|
||||
MutexHolder holder(_parent->_name_table_lock);
|
||||
NameTable::iterator ni = _parent->_name_table.find(_basename);
|
||||
|
Loading…
x
Reference in New Issue
Block a user