On Wed, Apr 23, 2008 at 8:52 AM, Dino Viehland
<[EMAIL PROTECTED]> wrote:
>
> Another solution is to ensure that you pump messages.  The easiest way
> to do that in your sample code below is Thread.CurrentThread.Join(100)
> instead of doing a Thread.Sleep(100).

You could probably also do a GC.WaitForPendingFinalizers, which should
allow any pending finalizers to be run.

__del__ methods aren't nearly as useful in IronPython as they are in
CPython due to the nature of non-deterministic finalization.

--
Curt Hagenlocher
[EMAIL PROTECTED]
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to