public static void Stop(this ICremaHost cremaHost, Authentication authentication) { var token = authenticationToToken[authentication]; #if SERVER cremaHost.Logout(authentication); #endif cremaHost.Close(token); authenticationToToken.Remove(authentication); }
public static void ClassCleanup() { cremaHost.Dispatcher.Invoke(() => cremaHost.Close()); cremaHost.Dispose(); }
public void Cleanup() { cremaHost.Dispatcher.Invoke(() => cremaHost.Close()); }