[IronPython] Application stays in memory even after exit
dan.eloff at gmail.com
Tue Sep 2 18:28:24 CEST 2008
Do you use threads? Any running non-daemon python thread will prevent
the application from exiting. Threads in python are non-daemon by
default. I don't know what the rules are for .NET threads.
On Tue, Sep 2, 2008 at 10:49 AM, cephire <id804097 at gmail.com> wrote:
> If you mean am I closing all the forms, yes. Here is the code snippet
> of both program.py and the form's exit menu item.
> Please note that I also tried self.Close and still it didn't exit from
> the memory. Thank you for your time.
> class mysecs10: # namespace
> def RealEntryPoint():
> if __name__ == "Program":
> mainform. exit
> @accepts(Self(), System.Object, System.EventArgs)
> def _exitToolStripMenuItem_Click(self, sender, e):
> On Sep 2, 1:36 am, Michael Foord <fuzzy... at voidspace.org.uk> wrote:
>> cephire wrote:
>> > Hi all,
>> > I've found out that the application is still in memory even after
>> > closing the application. I exit the application with
>> > Application.Exit().
>> > What should I do to remove the application completely?
>> Which version of IronPython are you using?
>> Have you deleted all references to the form (I assume it is a Windows
>> Forms application)?
>> > Thank you,
>> > Joseph
>> > _______________________________________________
>> > Users mailing list
>> > Us... at lists.ironpython.com
>> Users mailing list
>> Us... at lists.ironpython.comhttp://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> Users mailing list
> Users at lists.ironpython.com
More information about the Ironpython-users