Closed ChristopherHaws closed 2 months ago
I am sorry, I am not familiar with the concept of "orphaned process". What do you mean? The process exits, right?
An orphaned process occurs when a process spawns a child process without properly disposing the native resources.
Just based on a quick look through the code, I think this is where the issue is happening; I think the created process is never being disposed: https://github.com/marticliment/UniGetUI/blob/45ce9ee26f6c2745e4dfc5d636eaa9749efc335a/src/UniGetUI/PackageEngine/Operations/OperationControl.xaml.cs#L421
Process
is IDisposable
so it will need to be disposed. You can see in my screenshot that the gsudo processes had been started over a day ago and that the parent process (uniget) no longer exists.
Oh, I will fix this issue. Thanks!
Please confirm these before moving forward
UniGetUI Version
3.1.1
Windows version, edition, and architecture
Windows 11 Pro for Workstation v10.0.22631
Describe your issue
After running updates on my system using UniGetUI, many orphaned instances of
gsudo
get left running and never get cleaned up.Steps to reproduce the issue
gsudo
instancesUniGetUI Log
Relevant information
No response
Screenshots and videos