Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dangling data session
Message
From
24/04/2006 05:11:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Dangling data session
Miscellaneous
Thread ID:
01115896
Message ID:
01115896
Views:
102
Hello,

I have read a lot here about this subject, but I am still at a loss with the following problem. I am creating cursors and custom objects in a private data session, I release all of them (or I rather think I do), and the data session won't go away. I can check that there is no cursor any more in the data session, and no object is shown in DISPLAY MEMORY. No transaction as all this is against a remote database.
Class definitions for the custom objects are in a prg, if I modify this prg I get the "remove classes from memory?" question, and if I answer yes my data session goes away. So what was making the data session persist was clearly an object of one of the 10 classes defined there. But how can I find out this resilient object ? DISPLAY MEMORY doesn't show it.
If there is no direct way to do it, I could try to check whether every =null on my objects has been succesful. Is the firing of the Destroy event the correct indicator for that ? Does it work with collections too ?

Unfortunately I didn't manage to reproduce this problem with a simple example. But I would be very thankful for any hint on how to investigate the problem.

David
Next
Reply
Map
View

Click here to load this message in the networking platform