publish aicam server.
This commit is contained in:
parent
5c6f6c4a35
commit
3dc024d94f
@ -1,4 +1,5 @@
|
||||
using Hi.Disp;
|
||||
using Hi.HiNcKits;
|
||||
using Hi.Licenses;
|
||||
using Hi.MongoUtils;
|
||||
using Hi.Wpf.Disp;
|
||||
@ -26,13 +27,11 @@ namespace Sample.Disp
|
||||
/// <param name="displayee">The object that implements IDisplayee to be rendered</param>
|
||||
public static void RunApplication(string title, IDisplayee displayee)
|
||||
{
|
||||
SingleUserApp.AppBegin();
|
||||
Application app = new Application();
|
||||
app.Exit += (o, e) =>
|
||||
{
|
||||
if(MongoServer.IsDefaultInit)
|
||||
MongoServer.Default.Dispose();
|
||||
DispEngine.FinishDisp();
|
||||
License.LogOutAll();
|
||||
SingleUserApp.AppEnd();
|
||||
};
|
||||
app.Run(new RenderingWindow()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user