mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Core - Fixed very fast logging slowly taking up a lot of memory
Data model debug UI - Improved scrolling
This commit is contained in:
1 parent
1a82903449
commit
d32ac329c8
2 files changed
+2
-3
No files matched your search
@@ -25,7 +25,7 @@ namespace Artemis.Core
|
||||
internal static void Emit(LogEvent logEvent)
|
||||
{
|
||||
LinkedList.AddLast(logEvent);
|
||||
if (LinkedList.Count > 500)
|
||||
while (LinkedList.Count > 500)
|
||||
LinkedList.RemoveFirst();
|
||||
|
||||
OnEventAdded(new LogEventEventArgs(logEvent));
|
||||
|
||||
Reference in new issue
Block a user