Skip to content

Commit

Permalink
* MeMOry OpTimIZAtions ez RAM
Browse files Browse the repository at this point in the history
  • Loading branch information
ArachisH committed Jul 25, 2019
1 parent abc6508 commit cb91b2b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Tanji/Pages/Connection/ConnectionPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,7 @@ private async Task InterceptConnectionAsync()
message.Parser = null;
message.References.Clear();
}
GC.Collect();


if (UI.Connection.IsConnected)
{
if (_variableReplacements.Count > 0)
Expand All @@ -456,6 +455,9 @@ private async Task InterceptConnectionAsync()
}

Status = STANDING_BY;

GC.Collect();
await Task.Delay(1000).ContinueWith(t => GC.Collect()).ConfigureAwait(false);
}

private bool HasPingInstructions()
Expand Down
2 changes: 1 addition & 1 deletion Tanji/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.0")]
[assembly: AssemblyFileVersion("1.4.1250.0")]
[assembly: AssemblyFileVersion("1.4.1251.0")]

0 comments on commit cb91b2b

Please sign in to comment.