mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 07:47:45 +01:00
feat: add thread safety helpers
This commit is contained in:
parent
9bebbf2140
commit
8d304dc24b
2 changed files with 51 additions and 1 deletions
|
|
@ -99,6 +99,8 @@ namespace Dalamud
|
|||
{
|
||||
try
|
||||
{
|
||||
ThreadSafety.MarkMainThread();
|
||||
|
||||
SerilogEventSink.Instance.LogLine += SerilogOnLogLine;
|
||||
|
||||
Service<ServiceContainer>.Set();
|
||||
|
|
@ -115,7 +117,6 @@ namespace Dalamud
|
|||
|
||||
// Signal the main game thread to continue
|
||||
NativeFunctions.SetEvent(this.mainThreadContinueEvent);
|
||||
|
||||
Log.Information("[T1] Game thread continued!");
|
||||
|
||||
// Initialize FFXIVClientStructs function resolver
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue