Exemplo n.º 1
0
 private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     // If you close the application and there are still windows opened
     // they will be unregistered automatically by the UnregisterApplication
     // call.
     sessionManager.Proxy.UnregisterApplication(ApplicationId);
     sessionManager.Dispose();
 }
Exemplo n.º 2
0
 private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     sessionManager.Dispose();
 }
Exemplo n.º 3
0
 public void Dispose()
 {
     _clientSessionManager.Dispose();
     _nodeContext.ShardServer.Dispose();
     _nodeContext.DatabasesManager.Dispose();
 }