Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unreleased objects

Status
Not open for further replies.

jesylv

MIS
Jul 1, 2001
135
I have an object that intitialise several child objects that are responsible of gathering data in a network. A pointer to the various child object is kept in an array property of the parent object. The parent object itself is called in an app and stored in a local variable.

Now for a reason I just can understand quitting the calling app (thus releasing any local variable) does not seem to end the monitoring for which the child objects are responsible. It is like these objects are still operating.

Display object and Display memory gives me no clues as to what is going on. The only way to end the monitoring is to shut down VFP completely.

Running this app as an EXE will solve this problem but I still am puzzled by what is happening. Does Anyone have a clue as to what may be happening here?

Jean
 
Before closing the parent object set the array that holds the references to the child objects to null.

 
Hi fluteplr,

I am using these objects along with Web connect. I guess it is the source of this unusual behavior. Any way issuing a "CLEAR ALL" solves this issue. Thanks for pointing me in the good direction.

Jean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top