示例#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();
 }
示例#2
0
 private void MainForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     sessionManager.Dispose();
 }
示例#3
0
 public void Dispose()
 {
     _clientSessionManager.Dispose();
     _nodeContext.ShardServer.Dispose();
     _nodeContext.DatabasesManager.Dispose();
 }