Ticket #9233 (assigned)

Opened 7 years ago

Last modified 5 years ago

Possible issues with MDGeometry destructor

Reported by: Owen Arnold Owned by: Roman Tolchenov
Priority: major Milestone: Backlog
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Need to investigate why the MDGeometry destructor needs to do anything with the ADS, and remove this requirement if possible. Destructor currently looks like this:

  MDGeometry::~MDGeometry()
  {
    for (size_t i=0; i<m_transforms_FromOriginal.size(); i++)
      delete m_transforms_FromOriginal[i];
    for (size_t i=0; i<m_transforms_ToOriginal.size(); i++)
      delete m_transforms_ToOriginal[i];
    if (m_observingDelete)
    {
      // Stop watching once object is deleted
      API::AnalysisDataService::Instance().notificationCenter.removeObserver(m_delete_observer);
    }
    m_dimensions.clear();
  }

Change History

comment:1 Changed 6 years ago by Nick Draper

  • Owner changed from Anyone to Roman Tolchenov
  • Status changed from new to assigned

comment:2 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10076

Note: See TracTickets for help on using tickets.