I really have to echo iburrell on this issue ... having a DESTROY method that cleans stuff up is fine, but it should never be the only way to clean that stuff up.
In terms of "Good Practices", you shouldn't call DESTROY directly, nor should you depend on DESTROY being called in a timely manner ... but you can take advantage of DESTROY to try and clean up things you might have overlooked.
In reply to Re: explicitly calling destructor
by hossman
in thread explicitly calling destructor
by mla
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |