idfk how to fix this shit

This commit is contained in:
XorogVEVO 2022-01-26 00:22:24 +01:00
parent c4ec8bcfa1
commit 86934551d4

View file

@ -76,6 +76,12 @@ public class Logger
foreach (var b in _loggerObjects.LogsToPost.ToList())
{
if (b == null || b.Message == null)
{
_loggerObjects.LogsToPost.Remove(b);
continue;
}
GC.KeepAlive(b);
GC.KeepAlive(b.LogLevel);
GC.KeepAlive(b.Message);