[IronPython] DLR Hosting, IronPython Engine shutdown issues

matan keret matan504 at gmail.com
Fri Nov 13 19:44:58 CET 2009


OK thank you for the fast reply!

On Fri, Nov 13, 2009 at 7:23 PM, Dino Viehland <dinov at microsoft.com> wrote:

>  pyEngine.Runtime.Shutdown() is the equivalent.  As far as Python is
> concerned the only interesting thing this does is run sys.exitfunc if it’s
> been set - there’s some other stuff that happens but it’s logging and some
> cleanup which will happen on its own.  So there’s no need to really call a
> Dispose type method.
>
>
>
> *From:* users-bounces at lists.ironpython.com [mailto:
> users-bounces at lists.ironpython.com] *On Behalf Of *matan keret
> *Sent:* Friday, November 13, 2009 6:09 AM
> *To:* Discussion of IronPython
> *Subject:* [IronPython] DLR Hosting, IronPython Engine shutdown issues
>
>
>
> Hi everyone,
>
>
>
> In the old IronPython hosting API there used to be a simple
> pyEngine.Shutdown() command.
>
> And then for cleanup we used: pyEngine.Dispose()
>
>
>
> What is the equivalent in the new hosting API's? (am using IronPython
> 2.0.3)
>
> I found that there is something like: pyEngine.Runtime.Shutdown();
>
>
>
> Does that do the same as the old Shutdown() method?
>
> And what can I use instead of the Dispose() command that doesn't seem to
> exist anymore?
>
>
>
> Thanks,
>
>   Matan
>
> _______________________________________________
> Users mailing list
> Users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20091113/fc7249b1/attachment.html>


More information about the Ironpython-users mailing list