diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2018-01-01 21:16:06 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-01-01 21:16:06 -0600 |
| commit | d06972729d8410451266988a650633085b6441e8 (patch) | |
| tree | 4eeed9cb09bace9cce90ac67eeb26420168cab2e /src/mainwindow.cpp | |
| parent | c1a56f77ea4652105c00088096caa32b3f079447 (diff) | |
| parent | 39efb9a7c2162021027a5b3e798dc818d3fc6999 (diff) | |
Merge pull request #180 from erasmux/dev
Prefer hiding the MO proxy when waiting for spawned processes
Diffstat (limited to 'src/mainwindow.cpp')
| -rw-r--r-- | src/mainwindow.cpp | 4 |
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);
|
