mirror of
https://github.com/tuyoogame/YooAsset.git
synced 2026-05-25 18:20:15 +00:00
fix #678
This commit is contained in:
@@ -88,8 +88,8 @@ namespace YooAsset.Editor
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
ClearDatabase(true);
|
|
||||||
Debug.LogError($"Failed to load cache database : {ex.Message}");
|
Debug.LogError($"Failed to load cache database : {ex.Message}");
|
||||||
|
ClearDatabase(true);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -169,7 +169,8 @@ namespace YooAsset.Editor
|
|||||||
File.Delete(_databaseFilePath);
|
File.Delete(_databaseFilePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
_database.Clear();
|
if (_database != null)
|
||||||
|
_database.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user