mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
clean up ServerAssetValidator when closing server
This commit is contained in:
parent
27b6973da0
commit
268603f36c
1 changed files with 3 additions and 0 deletions
|
|
@ -289,6 +289,9 @@ function onServerDestroyed()
|
||||||
if ($Pref::Server::EnableDatablockCache)
|
if ($Pref::Server::EnableDatablockCache)
|
||||||
resetDatablockCache();
|
resetDatablockCache();
|
||||||
DatablockFilesList.empty();
|
DatablockFilesList.empty();
|
||||||
|
|
||||||
|
if (isObject(ServerAssetValidator))
|
||||||
|
ServerAssetValidator.delete();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Guid list maintenance functions
|
/// Guid list maintenance functions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue