dnasdw / customizemii

Automatically exported from code.google.com/p/customizemii
0 stars 1 forks source link

TransmitMii long starting time, can be fixed by async update call #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When opening TransmitMii, it goes and checks for updates BEFORE loading the 
UI and waits for the update call to finish. This also makes the app take a 
long time to load.

I fixed this by replacing the call to UpdateCheck() with an async invoke:

MethodInvoker AsyncUpdate = new MethodInvoker(UpdateCheck);
AsyncUpdate.BeginInvoke(null, null);

This will make the application start much faster, and if there's a new 
update, it will still show the dialog like normal.

Original issue reported on code.google.com by shadow1...@gmail.com on 3 Jan 2010 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago
Wow thanks! Haven't ever thought about doing it asynchronously *Facepalm*

Original comment by Lea...@gmail.com on 3 Jan 2010 at 4:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
No problem. I've been using TransferMii a lot lately and I've been getting 
tired of the 
long loading time so I downloaded the source to check it out. :P I don't think 
that 
asynchronous call will mess up anything either. 

Original comment by shadow1...@gmail.com on 3 Jan 2010 at 5:02

GoogleCodeExporter commented 9 years ago
Oops, I meant TransmitMii. sorry

Original comment by shadow1...@gmail.com on 3 Jan 2010 at 5:04

GoogleCodeExporter commented 9 years ago

Original comment by Lea...@gmail.com on 9 Jan 2010 at 5:21