Fix download/upload timeout + Fix some warnings

This commit is contained in:
Aurélie Delhaie
2022-08-08 18:00:11 +02:00
parent e3d33a1af9
commit 40645a80a1
28 changed files with 71 additions and 52 deletions

View File

@@ -22,13 +22,16 @@ namespace OpenSaveCloudClient.Core
ThreadPool.QueueUserWorkItem(delegate { CleanArchiveFolder(); });
}
public static SaveManager GetInstance()
public static SaveManager Instance
{
if (instance == null)
get
{
instance = new SaveManager();
if (instance == null)
{
instance = new SaveManager();
}
return instance;
}
return instance;
}
public GameSave Create(string name, string path, string coverHash)