Skip to content

[Bug]: Minor resource leaks — ServicesVM/SystemHealthVM PowerShellRunner, TrayIcon stream, MemoryTest Process #321

Description

@laurentiu021

Problems

  1. ServicesViewModel + SystemHealthViewModel — Inline PowerShellRunner never disposed (LEAK-005)
  2. TrayIconService — Icon resource stream not disposed after creating Icon (LEAK-006)
  3. MemoryTestService — Process.Start returns Process that is never disposed (LEAK-007)

Review IDs: LEAK-005 to LEAK-007 (MEDIUM/LOW)

Activity

  1. coderabbitai commented on May 13, 2026

    @coderabbitai
    🔗 Related PRs

    #249 - fix: address code review findings (QA, security, thread-safety) [merged]
    #254 - fix: deduplicate FormatSize (CQ-002) and batch ConsoleViewModel trim (CQ-008) [merged]
    #294 - fix: address 10 high-priority code review findings [merged]
    #298 - fix: address 4 medium-priority findings (PERF-005/007, CI-001, TEST-005) [closed]
    #300 - fix: address 3 medium-priority findings (SEC-005, PERF-008, TEST-008) [closed]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions