Consultor Eletrônico



Kbase P166465: NETUI: .NET object not released if passed in ABL array to .NET method
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   31/05/2011
Status: Verified

SYMPTOM(s):

NETUI: .NET object not released if passed in ABL array to .NET method

A .NET object is not released when a form closes if the object is assigned to an ABL array that is passed a .NET method.

Objects not being released from the SESSION object list references

UltraGrid Columns not being cleaned up when form is destroyed

WAIT-FOR Application:Run() does not dispose of UltraGrid columns for a deleted Form

Delete Object on the Form does not release UltraGridColumns

Using USE-WIDGET-POOL option in the CLASS definition statement does not clean up the objects

FACT(s) (Environment):

Windows
OpenEdge 10.2A
OpenEdge 10.2B
OpenEdge 10.2B01 Service Pack

CAUSE:

Bug# OE00197773

CAUSE:

When passing an an ABL array to a .NET method (i.e. in InitialzeComponent where a grid is constructed) the reference count is incremented internally, however when the form is destroyed we don't decrement the reference count when the form is destroyed, therefore they are missed when the form is destroyed.

FIX:

Upgrade to OpenEdge 10.2B02 or later