mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-17 06:05:17 +00:00
Fixed: Raise ApplicationStartupEvent after Owin is running
This commit is contained in:
@@ -34,7 +34,6 @@ namespace Lidarr.Http
|
||||
RegisterPipelines(pipelines);
|
||||
|
||||
container.Resolve<DatabaseTarget>().Register();
|
||||
container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
}
|
||||
|
||||
private void RegisterPipelines(IPipelines pipelines)
|
||||
|
||||
@@ -65,6 +65,8 @@ namespace NzbDrone.Host
|
||||
{
|
||||
_browserService.LaunchWebUI();
|
||||
}
|
||||
|
||||
_container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
}
|
||||
|
||||
protected override void OnStop()
|
||||
|
||||
Reference in New Issue
Block a user