|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
DLR Hosting, IronPython Engine shutdown issuesHi 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@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|
|
Re: DLR Hosting, IronPython Engine shutdown issuespyEngine.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@... [mailto:users-bounces@...] On
Behalf Of matan keret 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@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
|
|
Re: DLR Hosting, IronPython Engine shutdown issuesOK thank you for the fast reply!
On Fri, Nov 13, 2009 at 7:23 PM, Dino Viehland <dinov@...> wrote:
_______________________________________________ Users mailing list Users@... http://lists.ironpython.com/listinfo.cgi/users-ironpython.com |
| Free embeddable forum powered by Nabble | Forum Help |