summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorEran Mizrahi <erasmux@gmail.com>2017-12-29 15:32:25 +0200
committerEran Mizrahi <erasmux@gmail.com>2017-12-29 15:32:25 +0200
commit39efb9a7c2162021027a5b3e798dc818d3fc6999 (patch)
tree4eeed9cb09bace9cce90ac67eeb26420168cab2e /src/mainwindow.cpp
parentc1a56f77ea4652105c00088096caa32b3f079447 (diff)
Prefer hiding the MO proxy when waiting for spawned processes
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
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<QString> 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);