Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Garbage collection?
Message
From
02/08/2001 18:20:04
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00538944
Message ID:
00539130
Views:
26
>In my apps I sometimes notice that data sessions with open tables are left around after a form (and sometimes the app in dev mode) is exited. I assume that this is a bad practice.
>
>Any suggestions on a routine to call in a forms.destroy (or other method) which would handle the data session and any lingering object references?

Let's take just one example. I'd look into why they're being created, first. Are you using SESSION object? Or do you use SET DATASESSION TO in production code? Private DataSession forms, reports? Default? Mixture? If you can zero in on one example, that you can reliably duplicate, then we could offer some suggestions. Otherwise, we'll just be guessing. Not that that's ever stoppes us in the past, but it would help focus the replies.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform