From 4c7160e83da074a6f843f490f8cc89f2dfa7ca9c Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 3 Sep 2024 05:49:32 -0700 Subject: [PATCH] -- mejora dispose en globaldtclientes --- Ashx/SIGWeb.ashx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Ashx/SIGWeb.ashx b/Ashx/SIGWeb.ashx index eedb48556..47b1d2821 100644 --- a/Ashx/SIGWeb.ashx +++ b/Ashx/SIGWeb.ashx @@ -759,9 +759,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState End If Dim EsDistribuidor As Integer = IfNull(context.Request("esdistribuidor"), "-1").ToString.ToEntero - Dim cveclienteclasificacion = IfNull(context.Request("cveclienteclasificacion"), "-1").ToString.ToEntero - Dim usuario As Usuario = UsuarioActual(context) Dim CveEmpresa As Integer If IsNothing(usuario) Then @@ -799,7 +797,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState Else context.Response.Write("[]") End If - DtRetorno.Dispose() + If DtRetorno IsNot Nothing Then DtRetorno.Dispose() DtRetorno = Nothing Return retorno