mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
fix AssetsManagement destructor
This commit is contained in:
parent
38354c42f9
commit
262e72c36e
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ AssetsManagement::AssetsManagement(Engine& engine)
|
||||||
|
|
||||||
AssetsManagement::~AssetsManagement() {
|
AssetsManagement::~AssetsManagement() {
|
||||||
finishBackgroundLoader();
|
finishBackgroundLoader();
|
||||||
|
assets.reset();
|
||||||
|
assetsVault.clearKeepedObjects();
|
||||||
}
|
}
|
||||||
|
|
||||||
const Assets* AssetsManagement::getStorage() const {
|
const Assets* AssetsManagement::getStorage() const {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue