Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wiping out (data)Session object
Message
De
26/05/2008 12:31:40
 
 
À
26/05/2008 11:23:47
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01319497
Message ID:
01319517
Vues:
23
>>Now I actually realised that it is no longer in memory as an object at all. What I am trying to get rid of is datasession that session object created and used.
>>
>>Any sword for this knot ?
>
>Make sure that all the aliases in that DS are really closed, =tablerevert() them as needed (or all the buffered ones). Happens in the command window - I can imagine it would happen in runtime as well. We're actually pampered by VFP's doing this sort of garbage collection for us, closing the tables for us when we quit.

I am doing it before trying to release (kill) session objects.
No buffering is used these are all tmp cursors. And they do get closed
but session itself is dangling :(

CC Naomi;
Destroy method does not happen unless I issue more harsh stuff
such is 'clear all' , but that is in this case unacceptable.

I have to enforce releasing partcular session object among others
which are to be kept without killing it all.

I will try to destroy (and then recreate) entire array that holds them
to see if anything changes

TIA
Sergio







*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform