1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00

Fixed: Raise ApplicationStartupEvent after Owin is running

This commit is contained in:
Qstick 2017-11-16 12:00:49 -05:00
parent b25c772d52
commit 4faefebe7e
2 changed files with 2 additions and 1 deletions

View file

@ -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)

View file

@ -65,6 +65,8 @@ public void Start()
{
_browserService.LaunchWebUI();
}
_container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
}
protected override void OnStop()