Add more death logging to trace odd script bugs
parent
34b3161be0
commit
bf6eba1021
|
@ -475,6 +475,7 @@ bool removeFeature(FEATURE *psDel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
debug(LOG_DEATH, "Killing off feature %s id %d (%p)", objInfo(psDel), psDel->id, psDel);
|
||||||
killFeature(psDel);
|
killFeature(psDel);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -4772,6 +4772,7 @@ BOOL removeStruct(STRUCTURE *psDel, BOOL bDestroy)
|
||||||
|
|
||||||
if (bDestroy)
|
if (bDestroy)
|
||||||
{
|
{
|
||||||
|
debug(LOG_DEATH, "Killing off %s id %d (%p)", objInfo(psDel), psDel->id, psDel);
|
||||||
killStruct(psDel);
|
killStruct(psDel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue