private static void StaticDispose()
{
s_appServerMode = false; // Make sure the cache can be cleaned up
LexicalProviderManager.StaticDispose(); // Must be done before disposing the cache
if (s_serviceChannel != null)
{
ChannelServices.UnregisterChannel(s_serviceChannel);
s_serviceChannel = null;
}
KeyboardController.Shutdown();
GracefullyShutDown();
if (s_threadHelper != null)
s_threadHelper.Dispose();
s_threadHelper = null;
FwRegistrySettings.Release();
}