Exemple #1
0
Doc::~Doc()
{
    delete m_masterTimer;
    m_masterTimer = NULL;

    clearContents();

    if (isKiosk() == false)
        m_outputMap->saveDefaults();
    delete m_outputMap;
    m_outputMap = NULL;

    if (isKiosk() == false)
        m_inputMap->saveDefaults();
    delete m_inputMap;
    m_inputMap = NULL;

    delete m_fixtureDefCache;
    m_fixtureDefCache = NULL;
}
Exemple #2
0
Doc::~Doc()
{
    delete m_masterTimer;
    m_masterTimer = NULL;

    clearContents();

    if (isKiosk() == false)
    {
        // TODO: is this still needed ??
        //m_ioMap->saveDefaults();
    }
    delete m_ioMap;
    m_ioMap = NULL;

    delete m_ioPluginCache;
    m_ioPluginCache = NULL;

    delete m_modifiersCache;
    m_modifiersCache = NULL;

    delete m_fixtureDefCache;
    m_fixtureDefCache = NULL;
}