Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential memory leaks identified by KSPCommunityFixes #83

Open
Gordon-Dry opened this issue Sep 26, 2022 · 0 comments
Open

Potential memory leaks identified by KSPCommunityFixes #83

Gordon-Dry opened this issue Sep 26, 2022 · 0 comments

Comments

@Gordon-Dry
Copy link
Contributor

Gordon-Dry commented Sep 26, 2022

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

[LOG 20:42:39.415] [KSPCF:MemoryLeaks] A destroyed RealAntennas:RealAntennasUI instance is owning a onGameSceneLoadRequested GameEvents callback. No action has been taken, but unless this mod is relying on this pattern, this is likely a memory leak.
[LOG 20:42:39.416] [KSPCF:MemoryLeaks] Removed a onPlanetariumTargetChange GameEvents callback owned by a destroyed RealAntennas:RACommNetVessel instance
[LOG 20:42:39.416] [KSPCF:MemoryLeaks] Removed a onPlanetariumTargetChange GameEvents callback owned by a destroyed Assembly-CSharp:CommNetVessel instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant