Stabilize steam proxy mechanism even more
This hopefully fixes issue #37
This commit is contained in:
parent
5fc3ee3588
commit
258e8c88cc
@ -191,7 +191,7 @@ namespace steam_proxy
|
|||||||
void pre_start() override
|
void pre_start() override
|
||||||
{
|
{
|
||||||
load_client();
|
load_client();
|
||||||
clean_up_on_error();
|
perform_cleanup_if_needed();
|
||||||
}
|
}
|
||||||
|
|
||||||
void post_unpack() override
|
void post_unpack() override
|
||||||
@ -218,6 +218,8 @@ namespace steam_proxy
|
|||||||
MessageBoxA(GetForegroundWindow(), e.what(), "BOIII Error", MB_ICONERROR);
|
MessageBoxA(GetForegroundWindow(), e.what(), "BOIII Error", MB_ICONERROR);
|
||||||
TerminateProcess(GetCurrentProcess(), 1234);
|
TerminateProcess(GetCurrentProcess(), 1234);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
clean_up_on_error();
|
||||||
}
|
}
|
||||||
|
|
||||||
void pre_destroy() override
|
void pre_destroy() override
|
||||||
|
Loading…
Reference in New Issue
Block a user