KSP-RO/Kerbal-Joint-Reinforcement-Continued

Potential memory leaks identified by KSPCommunityFixes

Gordon-Dry opened this issue · 1 comments

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 Kerbal-Joint-Reinforcement-Continued where a leak might exist:

[LOG 21:14:59.010] [KSPCF:MemoryLeaks] Removed a onVesselCreate GameEvents callback owned by a destroyed KerbalJointReinforcement:KJRDecouplerReinforcementModule instance
[LOG 21:14:59.013] [KSPCF:MemoryLeaks] Removed a onVesselWasModified GameEvents callback owned by a destroyed KerbalJointReinforcement:KJRLaunchClampReinforcementModule instance

siimav commented

Fixed