OK thank you for the fast reply! On Fri, Nov 13, 2009 at 7:23 PM, Dino Viehland <[email protected]> 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:* [email protected] [mailto: > [email protected]] *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 > [email protected] > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > >
_______________________________________________ Users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
