|
No problem. When I get some more time I will dig into the
source in more detail… Have a few ideas for how to make the executor more
“friendly” … e.g. configuring it to only do work when there
is no user logged into windows or between particular times ( e.g. from 2000
until 0700). Brian From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tibor Biro Hi Brian, Thanks for digging deeper
into this. I added your comments to the bug. I think that it will be fixed
pretty soon in CVS as well considering how detailed your instructions are. Regards, Tibor From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Delahunty I’ve only spent the last few minutes looking at the
code but it seems that the code in GApplication that fires the
ApplicationFinished event doesn’t make any attempt to see the application
state to ApplicationState.Stopped … this means that the UpdateApplication
method is never actually called so the status is not set in the database to
indicate that the application has actually stopped. Even when you call Stop on your GApplication instance it
doesn’t work because the stop method checks to see if the application is
still running, which it isn’t (it’s finished) and hence
doesn’t call the “Owner_StopApplication” method in GManager
(which in turn calls “Stop” on MApplication – which sets the
state and causes the db to be updated). To get around the issues for my particular instance I
simply remove the check on _Running in the Stop method of GApplication…
works fine for what I need. Brian From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tibor Biro Hi Brian, I was able to confirm
this problem so I filed a bug with it. Thanks for bringing this
to our attention. Regards, Tibor From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Delahunty Hi All, Just started using Alchemi and I already love it. I’ve
come across one small issue though… After I have run the PiCalculator
example and all the threads finish and the application itself closes, it is
still visible in the “Console” and when I try to delete it from the
Application section in the Console it says that the application is still
running. Any ideas? Brian |
- [Alchemi-users] Applications not stopping Brian Delahunty
- RE: [Alchemi-users] Applications not stopping Tibor Biro
- RE: [Alchemi-users] Applications not stopping Brian Delahunty
- RE: [Alchemi-users] Applications not stoppin... Brian Delahunty
- RE: [Alchemi-users] Applications not stoppin... Tibor Biro
- RE: [Alchemi-users] Applications not sto... Brian Delahunty
- RE: [Alchemi-users] Applications no... Reece Arnott
- RE: [Alchemi-users] Applications not sto... Brian Delahunty
- RE: [Alchemi-users] Applications no... Tibor Biro
- RE: [Alchemi-users] Applications no... Tibor Biro
- Re: [Alchemi-users] Application... Jonathan Mitchem
- RE: [Alchemi-users] Applica... Tibor Biro
