mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2025-12-06 04:04:53 +01:00
Only run background thread if runcallbacks has been called more than 1 seconds ago.
This commit is contained in:
parent
8cdf5cee26
commit
6f4273bf3a
2 changed files with 12 additions and 6 deletions
|
|
@ -135,6 +135,7 @@ public:
|
|||
bool server_init = false;
|
||||
std::thread background_keepalive;
|
||||
bool steamclient_server_inited = false;
|
||||
std::atomic<unsigned long long> last_cb_run;
|
||||
|
||||
unsigned steam_pipe_counter = 1;
|
||||
std::map<HSteamPipe, enum Steam_Pipe> steam_pipes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue