Your change message was:

M src/Alchemi.Core/Owner/GApplication.cs
Added code to set the application as stopped when the
ApplicationFinished even is raised.

What was happening before?  Did it never stop?

On 1/25/06, Tibor Biro <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi Brian,
>
>
>
> This is now fixed in CVS.
>
>
>
> Regards,
>
> Tibor
>
>
>
>
>
>
>  ________________________________
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Brian Delahunty
>  Sent: Monday, January 23, 2006 6:40 AM
>
>  To: 'Tibor Biro'; [email protected]
>  Subject: RE: [Alchemi-users] Applications not stopping
>
>
>
>
> Tibor,
>
>
>
> Just wondering if this has been fixed in the code in CVS?
>
>
>
> Brian
>
>
>
>  ________________________________
>
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Tibor Biro
>  Sent: 20 January 2006 15:39
>  To: [email protected]
>  Subject: RE: [Alchemi-users] Applications not stopping
>
>
>
> 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
>  Sent: Friday, January 20, 2006 10:10 AM
>  To: 'Tibor Biro'; [email protected]
>  Subject: RE: [Alchemi-users] Applications not stopping
>
>
>
> 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
>  Sent: 20 January 2006 13:44
>  To: [email protected]
>  Subject: RE: [Alchemi-users] Applications not stopping
>
>
>
> 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
>  Sent: Friday, January 20, 2006 8:38 AM
>  To: [email protected]
>  Subject: [Alchemi-users] Applications not stopping
>
>
>
> 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
>
>

Reply via email to