Re: xobjview creates phantom font object? [message #51097 is a reply to message #51030] |
Mon, 30 October 2006 14:14  |
Karl Schultz
Messages: 341 Registered: October 1999
|
Senior Member |
|
|
On Mon, 30 Oct 2006 12:01:37 -0800, Pete Warner wrote:
> Hi all, I'm using XOBJVIEW to test some objects and have come across a
> possible bug when displaying IDLgrText objects. There is an IDLgrFont
> object showing up that I have no reference to and is not cleaned up
> upon closing the XOBJVIEW window. Here's my output log:
>
> IDL> .reset
> IDL> otext = obj_new('idlgrtext', 'aaa')
> IDL> obj_destroy, otext
> IDL> heap_gc, /verbose
> IDL> .reset
> IDL> otext = obj_new('idlgrtext', 'aaa')
> IDL> xobjview, otext, tlb=tlb
> Compiled module: XOBJVIEW.
> Compiled module: UNIQ.
> Compiled module: FILEPATH.
> Compiled module: PATH_SEP.
> Compiled module: IDENTITY.
> Compiled module: IDLEXVIEWMANIP__DEFINE.
> Compiled module: XMANAGER.
> IDL> widget_control, tlb, /destroy ;close xobjview
> IDL> obj_destroy, otext
> IDL> heap_gc, /verbose
> <ObjHeapVar87086>
> STRUCT = -> IDLGRFONT Array[1]
What version of IDL are you using?
Here is my output log from 6.3:
IDL> otext = obj_new('idlgrtext', 'aaa')
IDL> xobjview, otext, tlb=tlb
Compiled module: XOBJVIEW.
Compiled module: UNIQ.
Compiled module: FILEPATH.
Compiled module: PATH_SEP.
Compiled module: IDENTITY.
Compiled module: IDLEXVIEWMANIP__DEFINE.
Compiled module: XMANAGER.
IDL> widget_control, tlb, /destroy
IDL> obj_destroy, otext
IDL> heap_gc, /verbose
I didn't see the problem in 5.6 or 6.0 either.
Karl
|
|
|