Exemple #1
0
        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);
        }
Exemple #2
0
 public static void ClassCleanup()
 {
     cremaHost.Dispatcher.Invoke(() => cremaHost.Close());
     cremaHost.Dispose();
 }
Exemple #3
0
 public void Cleanup()
 {
     cremaHost.Dispatcher.Invoke(() => cremaHost.Close());
 }