Krutonium / OpenRCT2Launcher

An Open Source Launcher & Updater for OpenRCT2
MIT License
26 stars 6 forks source link

IOException: file in use #48

Closed runelaenen closed 9 years ago

runelaenen commented 9 years ago

If you close the game and open the launcher within a short time, you will get this error because the old launcher is still running, trying to upload while the new launcher is trying to download the same file. http://gyazo.com/c4dda5ef3c50e16f509fad3ff06d39c9

Krutonium commented 9 years ago

Hmmm... Solution would be to set a marker, like a Launcher.lock file with a time inside. If the time is above 5 minutes then ignore, otherwise do not touch.

Krutonium commented 9 years ago

Fixed