Skip to content

Commit

Permalink
Fixed small memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxgurugamer committed Aug 24, 2022
1 parent d00473f commit 2761db5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Changelog

1.1.1.14
Fixed small memory leak

1.1.1.13
Added AssemblyFileVersion
Updated version file for 1.12
Expand Down
2 changes: 1 addition & 1 deletion EvaFollower.version
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"MAJOR": 1,
"MINOR": 1,
"PATCH": 1,
"BUILD": 13
"BUILD": 14
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
4 changes: 2 additions & 2 deletions Source/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

using System.Reflection;

[assembly: AssemblyVersion("1.1.1.12")]
[assembly: AssemblyFileVersion("1.1.1.12")]
[assembly: AssemblyVersion("1.1.1.13")]
[assembly: AssemblyFileVersion("1.1.1.13")]
2 changes: 1 addition & 1 deletion Source/EvaController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public void OnDestroy()
GameEvents.onCrewOnEva.Remove(OnCrewOnEva);
GameEvents.onCrewBoardVessel.Remove(OnCrewBoardVessel);
// GameEvents.onCrewKilled.Remove(OnCrewKilled);
GameEvents.onVesselWillDestroy.Add(VesselDestroyed);
GameEvents.onVesselWillDestroy.Remove(VesselDestroyed);

GameEvents.onGameStateSave.Remove(OnSave);
GameEvents.onFlightReady.Remove(onFlightReadyCallback);
Expand Down
6 changes: 3 additions & 3 deletions Source/EvaFollower.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
Expand All @@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MSD.EvaFollower</RootNamespace>
<AssemblyName>EvaFollower</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
Expand Down Expand Up @@ -120,4 +120,4 @@ if $(ConfigurationName) == Release (
</Reference>
<Reference Include="System.Xml" />
</ItemGroup>
</Project>
</Project>

0 comments on commit 2761db5

Please sign in to comment.