mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-26 17:31:45 +02:00
Reset renice value on unregister
Part of fixing up https://github.com/FeralInteractive/gamemode/issues/141
This commit is contained in:
@ -511,6 +511,9 @@ int game_mode_context_unregister(GameModeContext *self, pid_t client, pid_t requ
|
||||
|
||||
game_mode_client_count_changed();
|
||||
|
||||
/* Restore the renice value for the process, expecting it to be our config value */
|
||||
game_mode_apply_renice(self, client, (int)config_get_renice_value(self->config));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user