BytexDigital / BytexDigital.Steam

Wrapper library of SteamKit2 for simpler usage of specific APIs such as downloading apps and workshop content from Steam
Other
12 stars 3 forks source link

FileStream not getting closed #2

Closed NeutraleNull closed 4 years ago

NeutraleNull commented 4 years ago

If downloading a workshop mod containing subdirectories including empty files in them the application will keep it in write mode open upon application closing. This results in beeing unable to move the downloaded directory anywhere.

I guess there is an error in a filestream and it is not getting closed and disposed.

Visualisation:

@addon

Example workshop mod provided: https://steamcommunity.com/sharedfiles/filedetails/?id=2242952694 I noticed this while downloading the CBA Mod that includes a empty setting file in the userconfig folder

RyanTT commented 4 years ago

Fixed with #3