/// <summary>Close (or recycle) a session to a host.</summary>
 /// <remarks>Close (or recycle) a session to a host.</remarks>
 /// <param name="session">
 /// a session previously obtained from this factory's
 /// <see cref="GetSession(URIish, CredentialsProvider, NGit.Util.FS, int)">GetSession(URIish, CredentialsProvider, NGit.Util.FS, int)
 ///     </see>
 /// method.
 /// </param>
 public virtual void ReleaseSession(RemoteSession session)
 {
     session.Disconnect();
 }
Exemplo n.º 2
0
 /// <summary>Close (or recycle) a session to a host.</summary>
 /// <remarks>Close (or recycle) a session to a host.</remarks>
 /// <param name="session">
 /// a session previously obtained from this factory's
 /// <see cref="GetSession(URIish, CredentialsProvider, NGit.Util.FS, int)">GetSession(URIish, CredentialsProvider, NGit.Util.FS, int)
 /// 	</see>
 /// method.
 /// </param>
 public virtual void ReleaseSession(RemoteSession session)
 {
     session.Disconnect();
 }