mirror of
https://github.com/ModOrganizer2/modorganizer.git
synced 2026-07-27 13:58:24 -07:00
make plugins wait until after the refresh is completed when they request a refresh
this is a change in behaviour, but it makes sure plugins don't have a stale view of the mods after running something
This commit is contained in:
@@ -193,7 +193,7 @@ bool OrganizerProxy::waitForApplication(HANDLE handle, bool refresh, LPDWORD exi
|
||||
ProcessRunner::WaitFlags waitFlags = ProcessRunner::ForceWait;
|
||||
|
||||
if (refresh) {
|
||||
waitFlags |= ProcessRunner::TriggerRefresh;
|
||||
waitFlags |= ProcessRunner::TriggerRefresh | ProcessRunner::WaitForRefresh;
|
||||
}
|
||||
|
||||
const auto r = runner
|
||||
|
||||
Reference in New Issue
Block a user