Mindaugas Kavaliauskas wrote:

I have a question/problem/discussion about garbage collection for chance made of collectible pointer.

The code below prints:
------------------------
Test1
oB is NIL
bbb destructor
After GC
Test2
oB is NIL
After GC
aaa destructor
------------------------

While I have no particular insight, I am so pleased with the ease of running small tests with hbmk2, I tried it and got (with MSVC):

Test1
oB is NIL
bbb destructor
After GC
Test2
oB is NIL
After GCaaa destructor

so I wonder if you are correct about GT output being down, as the last line is garbled (in a repeatable fashion mind you).

Regards
Alex

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to