Skip to content

Commit

Permalink
Merge pull request #391 from wbonbon/master
Browse files Browse the repository at this point in the history
improvement
  • Loading branch information
wbonbon committed Feb 14, 2024
2 parents cd483a0 + ea577e3 commit 56d7a55
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions source/ACT.XIVLog/XIVLogPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private void EndTask()
}
}

[MethodImpl(MethodImplOptions.NoInlining)]
//[MethodImpl(MethodImplOptions.NoInlining)]
private void OnLogLineRead(
bool isImport,
LogLineEventArgs logInfo)
Expand All @@ -306,8 +306,11 @@ private void EndTask()

if (!isImport)
{
this.OpenXIVLog(logInfo.logLine);
VideoCapture.Instance.DetectCapture(xivlog);
Task.Run(() =>
{
this.OpenXIVLog(logInfo.logLine);
VideoCapture.Instance.DetectCapture(xivlog);
});
}
}

Expand Down

0 comments on commit 56d7a55

Please sign in to comment.