| 52 | } |
| 53 | |
| 54 | ProcessorWindow::~ProcessorWindow() { |
| 55 | traceScope(); |
| 56 | logln("destroying processor window for " << m_processor->getName() |
| 57 | << " (channel=" << m_processor->getActiveWindowChannel() << ")"); |
| 58 | stopAsyncFunctors(); |
| 59 | stopCapturing(); |
| 60 | if (m_editor != nullptr) { |
| 61 | delete m_editor; |
| 62 | m_editor = nullptr; |
| 63 | } else if (m_processor->isClient()) { |
| 64 | m_processor->hideEditor(); |
| 65 | } |
| 66 | m_processor->setLastPosition(getPosition()); |
| 67 | } |
| 68 | |
| 69 | void ProcessorWindow::closeButtonPressed() { |
| 70 | getApp()->hideEditor(m_tid); |
nothing calls this directly
no test coverage detected