Changeset 1881 in webkit for trunk/JavaScriptCore/kjs


Ignore:
Timestamp:
Aug 20, 2002, 2:53:41 PM (23 years ago)
Author:
mjs
Message:
  • kjs/object.cpp: Don't reference other ValueImps in the destructor, they may ha ve already been destroyed, and will have GC_ALLOWED set already in any case.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/object.cpp

    r1861 r1881  
    8080{
    8181  //fprintf(stderr,"ObjectImp::~ObjectImp %p\n",(void*)this);
    82   if (_proto)
    83     _proto->setGcAllowed();
    84   if (_internalValue)
    85     _internalValue->setGcAllowed();
    86   if (_scope)
    87     _scope->setGcAllowed();
    8882  delete _prop;
    8983}
Note: See TracChangeset for help on using the changeset viewer.