added a shutdown api method, font size fix and other decouplings

This commit is contained in:
LukePulverenti
2013-02-26 11:10:55 -05:00
parent efdb2f3990
commit 6efd22a3d2
30 changed files with 420 additions and 235 deletions

View File

@@ -255,7 +255,6 @@ namespace MediaBrowser.ServerApplication
base.OnExit(e);
Kernel.Dispose();
CompositionRoot.Dispose();
}
@@ -360,7 +359,7 @@ namespace MediaBrowser.ServerApplication
{
Dispatcher.Invoke(ReleaseMutex);
Kernel.Dispose();
CompositionRoot.Dispose();
System.Windows.Forms.Application.Restart();