mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Debug - Fixed threading issue with LogStore
also made the logger viewer text searching much more efficient
This commit is contained in:
1 parent
a7ed4de575
commit
1b62109961
2 files changed
+22
-5
No files matched your search
@@ -63,7 +63,7 @@ public class LogsDebugViewModel : ActivatableViewModelBase
|
||||
|
||||
private void RemoveOldestLine()
|
||||
{
|
||||
int firstNewLine = Document.Text.IndexOf('\n');
|
||||
int firstNewLine = Document.IndexOf('\n', 0, Document.TextLength);
|
||||
if (firstNewLine == -1)
|
||||
{
|
||||
//this should never happen.
|
||||
|
||||
Reference in new issue
Block a user