aMule Forum
English => Feature requests => Topic started 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.
-
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.
-
We can't actually do that, as GUI is closed before core.
-
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.
-
Core launches GUI. So, GUI must be destroyed before core closes.
-
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
-
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.
-
You can't launch core from GUI :P you need a core that launches the GUI, the GUI does not create itself ;)
-
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.