Thanks, I tried it. Now, instead of being destroyed early, the object is never destroyed, which I believe means that it leaks memory. Maybe you created a reference cycle? -- Jonathan