mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-21 18:55:12 -04:00
Fixed: Raise ApplicationStartupEvent after Owin is running
This commit is contained in:
1 parent
b25c772d52
commit
4faefebe7e
2 files changed
+2
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -65,6 +65,8 @@ public void Start()
|
||||
{
|
||||
_browserService.LaunchWebUI();
|
||||
}
|
||||
|
||||
_container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
|
||||
}
|
||||
|
||||
protected override void OnStop()
|
||||
|
||||
Reference in new issue
Block a user