Fixed: Raise ApplicationStartupEvent after Owin is running

This commit is contained in:
Qstick committed 2017-11-16 12:00:49 -05:00
1 parent b25c772d52
commit 4faefebe7e
2 files changed
+2 -1

No files matched your search

-1
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)
+2
View File
@@ -65,6 +65,8 @@ public void Start()
{
_browserService.LaunchWebUI();
}
_container.Resolve<IEventAggregator>().PublishEvent(new ApplicationStartedEvent());
}
protected override void OnStop()