Merge pull request #39 from momo5502/bugfix/steam-crash

Stabilize steam proxy cleanup mechanism even more
This commit is contained in:
Maurice Heumann 2022-10-01 20:28:28 +02:00 committed by GitHub
commit b26752860f

View File

@ -191,7 +191,7 @@ namespace steam_proxy
void pre_start() override
{
load_client();
clean_up_on_error();
perform_cleanup_if_needed();
}
void post_unpack() override
@ -218,6 +218,8 @@ namespace steam_proxy
MessageBoxA(GetForegroundWindow(), e.what(), "BOIII Error", MB_ICONERROR);
TerminateProcess(GetCurrentProcess(), 1234);
}
clean_up_on_error();
}
void pre_destroy() override