Skip to content

Commit

Permalink
Fix bug with single process refresh not working (#836)
Browse files Browse the repository at this point in the history
I misunderstood the new API. It returns the number of processes still
alive, not how many got closed.
  • Loading branch information
CryZe authored Aug 21, 2024
1 parent 53fc5f4 commit eccd5da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/livesplit-auto-splitting/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl ProcessList {
if self
.system
.refresh_processes_specifics(ProcessesToUpdate::Some(&[pid]), single_process())
!= 0
== 0
{
// FIXME: Unfortunately `refresh_process_specifics` doesn't remove
// the process if it doesn't exist anymore. There also doesn't seem
Expand Down

0 comments on commit eccd5da

Please sign in to comment.