Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Garbage collection?
Message
De
02/08/2001 18:20:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00538944
Message ID:
00539130
Vues:
31
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform