The way I've tested this in the past is to loop over the suspect code a few thousand times. If it does not die, it's not leaking open files.
Update: Fixed a typo. Thanks GrandFather!
In reply to Re: How to test for open file handles?
by kyle
in thread How to test for open file handles?
by jdrago_999
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |