Well, still a good use of "with" for an elegant workaround :)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Saturday, October 27, 2007 10:44 PM
To: Discussion of IronPython
Subject: Re: [IronPython] Good example of with
2007/10/28, Shri Borde <[EMAIL PROTECTED]>:
> There was a leak in IronPython where we were keeping COM objects alive once
> the IPy code manipulated the COM object. The code in the blog seems to be
> dealing with this bug with the use of the auto method which calls
> Marshal.ReleaseComObject in
There was a leak in IronPython where we were keeping COM objects alive once the
IPy code manipulated the COM object. The code in the blog seems to be dealing
with this bug with the use of the auto method which calls
Marshal.ReleaseComObject in the finally. The bug is fixed in the 2.0 tree and
s