TrackEditor::~TrackEditor() { if(m_device_io != 0) { delete m_device_io; } ui.scrollArea->setWidget(0); delete m_settings; delete m_track_view; delete m_track_collection; closeTTY(); delete m_progress_dlg; }
TTYProcess::~TTYProcess(){ closeTTY(); //make sure everything is closed properly }