@ -34,7 +34,6 @@ namespace NzbDrone.Api
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()