mirror of
https://github.com/Radarr/Radarr
synced 2026-04-28 16:01:55 +02:00
Fixed: Raise ApplicationStartupEvent after Owin is running.
This commit is contained in:
parent
090dd45541
commit
f53cad822a
2 changed files with 3 additions and 2 deletions
|
|
@ -34,7 +34,6 @@ protected override void ApplicationStartup(TinyIoCContainer container, IPipeline
|
|||
RegisterPipelines(pipelines);
|
||||
|
||||
container.Resolve<DatabaseTarget>().Register();
|
||||
container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
}
|
||||
|
||||
private void RegisterPipelines(IPipelines pipelines)
|
||||
|
|
@ -56,4 +55,4 @@ protected override TinyIoCContainer GetApplicationContainer()
|
|||
|
||||
protected override byte[] FavIcon => null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@ public void Start()
|
|||
{
|
||||
_browserService.LaunchWebUI();
|
||||
}
|
||||
|
||||
_container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
}
|
||||
|
||||
protected override void OnStop()
|
||||
|
|
|
|||
Loading…
Reference in a new issue