mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-29 07:37:45 +00:00
delete unloaded scripts
This commit is contained in:
parent
2868bfc69f
commit
d390d594ac
1 changed files with 2 additions and 0 deletions
|
@ -145,6 +145,8 @@ namespace Core {
|
||||||
default:
|
default:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
delete script;
|
||||||
}
|
}
|
||||||
|
|
||||||
return m_loader.unloadScript( info );
|
return m_loader.unloadScript( info );
|
||||||
|
|
Loading…
Add table
Reference in a new issue