Skip to content

Potential memory leaks identified by KSPCommunityFixes #2

@Gordon-Dry

Description

@Gordon-Dry

Latest version of KSPCommunityFixes reports on some potential memory leaks on scene changes. A quick look in the log after scene change to Flight Scene shows 2 potential locations in SafeChute where a leak might exist:

[LOG 21:14:59.011] [KSPCF:MemoryLeaks] A destroyed SafeChute:SafeChuteModule instance is owning a onVesselChange GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
[LOG 21:14:59.013] [KSPCF:MemoryLeaks] A destroyed SafeChute:SafeChuteModule instance is owning a onVesselStandardModification GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions