mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2025-01-14 08:01:14 +01:00
Filter threads from process count
Found like 85 sockets in /run/user/1000 that weren't getting cleaned up
This commit is contained in:
parent
1cdc6fe42d
commit
3ff1f4e737
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ impl State {
|
||||||
let multiple_instances = self
|
let multiple_instances = self
|
||||||
.system_processes
|
.system_processes
|
||||||
.processes_by_exact_name("pinnacle")
|
.processes_by_exact_name("pinnacle")
|
||||||
|
.filter(|proc| proc.thread_kind().is_none())
|
||||||
.count()
|
.count()
|
||||||
> 1;
|
> 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue