aMule Forum

English => Feature requests => Topic started by: skolnick on June 03, 2005, 06:32:47 PM

Title: shutdown progress indicator
Post by: skolnick on June 03, 2005, 06:32:47 PM
Hello!

I have a little request: when amule is started from console, and then shutdown, I notice there is a long delay (for me) between the GUI dissapearing and the real stopping of amule. That is due to the flushing of all the .part files, which I have a real lot (like 200 or so) so, when I start aMule from the shortcut, I can never be sure amule has already flushed all the parts before shutting down my computer. Could it be done that the last thing amule does is shutting down the GUI? that way, when the GUI goes away, the user could be sure amule is no longer doing anything and shutdown the computer safely.

Thanks

P.S: I think emule does it this way, since the GUI takes a long time to dissapear when I close emule.
Title: Re: shutdown progress indicator
Post by: GonoszTopi on June 03, 2005, 09:53:30 PM
Or, when the GUI is gone, display a small box (like e.g. evolution does) saying "aMule is exiting..." and maybe a progress indicator. This messagebox then should be closed as the "last" thing on shutdown.
Title: Re: shutdown progress indicator
Post by: Kry on June 03, 2005, 11:39:15 PM
We can't actually do that, as GUI is closed before core.
Title: Re: shutdown progress indicator
Post by: skolnick on June 04, 2005, 05:10:06 AM
I really like GonoszTopi suggestion. That was what I was thinking, but I thought it would be easier to do what i suggested. BTW: Kry, why does core closes before GUI? I thought you needed to stop the core before start flushing parts...

Regards.
Title: Re: shutdown progress indicator
Post by: Kry on June 04, 2005, 06:07:38 AM
Core launches GUI. So, GUI must be destroyed before core closes.
Title: Re: shutdown progress indicator
Post by: Mr Faber on June 04, 2005, 08:43:50 AM
Whats with a second programm which starts aMule and realizes when it exits? It could have a GUI but it seems a little overkill for such a little problem.
I always check "ps" to know when aMule has shutdown.

cu
Mr Faber
Title: Re: shutdown progress indicator
Post by: skolnick on June 04, 2005, 05:13:48 PM
Quote
Originally posted by Kry
Core launches GUI. So, GUI must be destroyed before core closes.
I see. My programs are quite the opposite (GUI launches core) so they finish the opposite way. That's why I asked.

Regards.
Title: Re: shutdown progress indicator
Post by: Kry on June 04, 2005, 05:45:04 PM
You can't launch core from GUI :P you need a core that launches the GUI, the GUI does not create itself ;)
Title: Re: shutdown progress indicator
Post by: skolnick on June 07, 2005, 06:44:07 PM
Hmm...you see, java seems to be a bit different...I can start core from GUI. At least to me it looks like that.

Regards.