Skip to content

Commit

Permalink
Merge pull request #914 from CitiesSkylinesMods/RemoveCodeProfiler
Browse files Browse the repository at this point in the history
Remove CodeProfiler, SkyTools.Benchmark will serve the future.
  • Loading branch information
DaEgi01 committed Jun 1, 2020
2 parents f13ed26 + 3663cf8 commit eb2f696
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 102 deletions.
96 changes: 0 additions & 96 deletions TLM/TLM/CodeProfiler.cs

This file was deleted.

4 changes: 0 additions & 4 deletions TLM/TLM/LoadingExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ void Destroy<T>() where T : MonoBehaviour {
ModUI.SetSingletonInstance(null);
Log._Debug("removed UIBase instance.");
}

#if TRACE
Singleton<CodeProfiler>.instance.OnLevelUnloading();
#endif
}
catch (Exception e) {
Log.Error("Exception unloading mod. " + e.Message);
Expand Down
3 changes: 1 addition & 2 deletions TLM/TLM/TLM.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand Down Expand Up @@ -138,7 +138,6 @@
<Link>Properties\SharedAssemblyInfo.cs</Link>
</Compile>
<Compile Include="Benchmark\BenchmarkManager.cs" />
<Compile Include="CodeProfiler.cs" />
<Compile Include="Constants.cs" />
<Compile Include="Custom\AI\CustomBuildingAI.cs" />
<Compile Include="Custom\AI\CustomBusAI.cs" />
Expand Down

0 comments on commit eb2f696

Please sign in to comment.