MCPcopy Create free account
hub / github.com/baldurk/renderdoc / ~MainWindow

Method ~MainWindow

qrenderdoc/Windows/MainWindow.cpp:559–577  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559MainWindow::~MainWindow()
560{
561 // close the network manager thread
562 m_NetManagerThread->thread()->quit();
563 m_NetManagerThread->deleteLater();
564
565 m_Ctx.Replay().DisconnectFromRemoteServer();
566
567 // explicitly delete our children here, so that the MainWindow is still alive while they are
568 // closing.
569
570 setUpdatesEnabled(false);
571 qDeleteAll(findChildren<QWidget *>(QString(), Qt::FindDirectChildrenOnly));
572
573 m_RemoteProbeSemaphore.acquire();
574 m_RemoteProbe->wait();
575 m_RemoteProbe->deleteLater();
576 delete ui;
577}
578
579QString MainWindow::GetLayoutPath(int layout)
580{

Callers

nothing calls this directly

Calls 4

qDeleteAllFunction · 0.85
QStringFunction · 0.50
waitMethod · 0.45

Tested by

no test coverage detected