MCPcopy Create free account
hub / github.com/actuallyaridan/linux-devmgmt / ~MainWindow

Method ~MainWindow

src/ui/MainWindow.cpp:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70MainWindow::~MainWindow() {
71 if (m_scanner && m_scanner->isRunning()) {
72 // Disconnect first so the finished signal doesn't trigger deleteLater
73 // or null out m_scanner while we're waiting — parent-child cleanup
74 // handles deletion after wait() returns.
75 m_scanner->disconnect();
76 m_scanner->wait();
77 }
78}
79
80void MainWindow::startScan() {
81 if (m_scanner && m_scanner->isRunning())

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected