mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
fix assert about auto assigning ids by commenting out atom zapping code
This commit is contained in:
parent
c52959b8f1
commit
4f0568a698
@ -105,15 +105,17 @@ morkCell::SetAtom(morkEnv* ev, morkAtom* ioAtom, morkPool* ioPool)
|
||||
mCell_Atom = 0;
|
||||
if ( oldAtom->CutCellUse(ev) == 0 )
|
||||
{
|
||||
if ( ioPool )
|
||||
{
|
||||
if ( oldAtom->IsBook() )
|
||||
((morkBookAtom*) oldAtom)->CutBookAtomFromSpace(ev);
|
||||
// this was zapping atoms still in use - comment out until davidmc
|
||||
// can figure out a better fix.
|
||||
// if ( ioPool )
|
||||
// {
|
||||
// if ( oldAtom->IsBook() )
|
||||
// ((morkBookAtom*) oldAtom)->CutBookAtomFromSpace(ev);
|
||||
|
||||
ioPool->ZapAtom(ev, oldAtom);
|
||||
}
|
||||
else
|
||||
ev->NilPointerError();
|
||||
// ioPool->ZapAtom(ev, oldAtom);
|
||||
// }
|
||||
// else
|
||||
// ev->NilPointerError();
|
||||
}
|
||||
}
|
||||
if ( ioAtom )
|
||||
|
@ -105,15 +105,17 @@ morkCell::SetAtom(morkEnv* ev, morkAtom* ioAtom, morkPool* ioPool)
|
||||
mCell_Atom = 0;
|
||||
if ( oldAtom->CutCellUse(ev) == 0 )
|
||||
{
|
||||
if ( ioPool )
|
||||
{
|
||||
if ( oldAtom->IsBook() )
|
||||
((morkBookAtom*) oldAtom)->CutBookAtomFromSpace(ev);
|
||||
// this was zapping atoms still in use - comment out until davidmc
|
||||
// can figure out a better fix.
|
||||
// if ( ioPool )
|
||||
// {
|
||||
// if ( oldAtom->IsBook() )
|
||||
// ((morkBookAtom*) oldAtom)->CutBookAtomFromSpace(ev);
|
||||
|
||||
ioPool->ZapAtom(ev, oldAtom);
|
||||
}
|
||||
else
|
||||
ev->NilPointerError();
|
||||
// ioPool->ZapAtom(ev, oldAtom);
|
||||
// }
|
||||
// else
|
||||
// ev->NilPointerError();
|
||||
}
|
||||
}
|
||||
if ( ioAtom )
|
||||
|
Loading…
Reference in New Issue
Block a user