Ignore:
Timestamp:
Oct 3, 2008, 9:09:37 AM (17 years ago)
Author:
Darin Adler
Message:

2008-10-03 Darin Adler <Darin Adler>

Suggested by Alexey Proskuryakov.

  • kjs/JSGlobalData.cpp: (JSC::JSGlobalData::~JSGlobalData): Remove call to heap.destroy() because it's too late to ref the JSGlobalData object once it's already being destroyed. In practice this is not a problem because WebCore's JSGlobalData is never destroyed and JSGlobalContextRelease takes care of calling heap.destroy() in advance.
File:
1 edited

Legend:

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

    r37215 r37240  
    9595JSGlobalData::~JSGlobalData()
    9696{
    97     heap.destroy();
     97    // By the time this is destroyed, heap.destroy() must already have been called.
     98
    9899    delete machine;
    99100#ifndef NDEBUG
Note: See TracChangeset for help on using the changeset viewer.