Results 1 to 2 of 2

Thread: Destroying objects...

  1. #1

    Thread Starter
    PowerPoster gavio's Avatar
    Join Date
    Feb 2006
    Location
    GMT+1
    Posts
    4,462

    Destroying objects...

    If i have a class with a global object in it, is this object destroyed when the class instance is destroyed?

  2. #2
    Oi, fat-rag! bushmobile's Avatar
    Join Date
    Mar 2004
    Location
    on the poop deck
    Posts
    5,592

    Re: Destroying objects...

    I couldn't say for certain (run a test) - but you should destroy the object manually in the _Terminate event of the class nonetheless - it's just good housekeeping.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width