mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-26 21:58:10 +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
|
||||
.system_processes
|
||||
.processes_by_exact_name("pinnacle")
|
||||
.filter(|proc| proc.thread_kind().is_none())
|
||||
.count()
|
||||
> 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue