From 39efb9a7c2162021027a5b3e798dc818d3fc6999 Mon Sep 17 00:00:00 2001 From: Eran Mizrahi Date: Fri, 29 Dec 2017 15:32:25 +0200 Subject: Prefer hiding the MO proxy when waiting for spawned processes --- src/mainwindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index c29e4ca4..ddc4fe23 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -875,7 +875,9 @@ void MainWindow::closeEvent(QCloseEvent* event) } } - HANDLE injected_process_still_running = m_OrganizerCore.findAndOpenAUSVFSProcess(); + std::vector hiddenList; + hiddenList.push_back(QFileInfo(QCoreApplication::applicationFilePath()).fileName()); + HANDLE injected_process_still_running = m_OrganizerCore.findAndOpenAUSVFSProcess(hiddenList, GetCurrentProcessId()); if (injected_process_still_running != INVALID_HANDLE_VALUE) { m_OrganizerCore.waitForApplication(injected_process_still_running); -- cgit v1.3.1