MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / ~ScriptLoader

Method ~ScriptLoader

Sources/Jazz2/Scripting/ScriptLoader.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 }
52
53 ScriptLoader::~ScriptLoader()
54 {
55 for (auto ctx : _contextPool) {
56 ctx->Release();
57 }
58
59 if (_engine != nullptr) {
60 _engine->ShutDownAndRelease();
61 _engine = nullptr;
62 }
63 }
64
65 ScriptContextType ScriptLoader::AddScriptFromFile(StringView path, const HashMap<String, bool>& definedSymbols)
66 {

Callers

nothing calls this directly

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected