Merge pull request #39 from momo5502/bugfix/steam-crash
Stabilize steam proxy cleanup mechanism even more
This commit is contained in:
commit
b26752860f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user