mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 12:53:41 +01:00
Less footguns in service dependency handling (#1560)
This commit is contained in:
parent
5777745ab3
commit
a0f4baf8fa
23 changed files with 659 additions and 302 deletions
|
|
@ -1063,14 +1063,10 @@ internal class InterfaceManager : IDisposable, IServiceType
|
|||
}
|
||||
}
|
||||
|
||||
[ServiceManager.CallWhenServicesReady]
|
||||
private void ContinueConstruction(
|
||||
TargetSigScanner sigScanner,
|
||||
DalamudAssetManager dalamudAssetManager,
|
||||
DalamudConfiguration configuration)
|
||||
[ServiceManager.CallWhenServicesReady(
|
||||
"InterfaceManager accepts event registration and stuff even when the game window is not ready.")]
|
||||
private void ContinueConstruction(TargetSigScanner sigScanner, DalamudConfiguration configuration)
|
||||
{
|
||||
dalamudAssetManager.WaitForAllRequiredAssets().Wait();
|
||||
|
||||
this.address.Setup(sigScanner);
|
||||
this.framework.RunOnFrameworkThread(() =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue