From: Clayton H. <dr...@us...> - 2004-10-03 17:31:39
|
Update of /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Protocols In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15794/src/ICSharpCode/SharpCvsLib/Protocols Modified Files: PServerProtocol.cs Log Message: Fixed bugs in messages (null listeners) and added example forms application to show how to listen to event output. Index: PServerProtocol.cs =================================================================== RCS file: /cvsroot/sharpcvslib/sharpcvslib/src/ICSharpCode/SharpCvsLib/Protocols/PServerProtocol.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PServerProtocol.cs 6 Aug 2004 06:18:25 -0000 1.1 --- PServerProtocol.cs 3 Oct 2004 17:29:13 -0000 1.2 *************** *** 91,95 **** /// </summary> public override void Disconnect() { ! this.TcpClient.Close(); } --- 91,97 ---- /// </summary> public override void Disconnect() { ! if (null != this.TcpClient) { ! this.TcpClient.Close(); ! } } |