[pgsqlclient-checkins] pgsqlclient_10/PostgreSql.Data.PgSqlClient/source PgCommand.cs,1.11,1.12
Status: Inactive
Brought to you by:
carlosga_fb
From: <car...@us...> - 2003-11-10 12:11:27
|
Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source In directory sc8-pr-cvs1:/tmp/cvs-serv910 Modified Files: PgCommand.cs Log Message: 2003-11-10 Carlos Guzmán Álvarez <car...@te...> * source/PgCommand.cs: - Fixed connection checking in dispose method. Index: PgCommand.cs =================================================================== RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/PgCommand.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** PgCommand.cs 8 Nov 2003 12:55:23 -0000 1.11 --- PgCommand.cs 10 Nov 2003 12:11:25 -0000 1.12 *************** *** 255,264 **** if (disposing) { ! if (this.connection.ActiveCommands != null) { this.connection.ActiveCommands.Remove(this); } ! ! // release any managed resources this.InternalClose(); --- 255,266 ---- if (disposing) { ! // release any managed resources ! ! if (this.connection != null && ! this.connection.ActiveCommands != null) { this.connection.ActiveCommands.Remove(this); } ! this.InternalClose(); |