Skip to content

Commit 5d49738

Browse files
committed
fix: fix compile
1 parent 65c7ed2 commit 5d49738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lse/PluginManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ ll::Expected<> PluginManager::load(ll::mod::Manifest manifest) {
160160

161161
BindAPIs(&scriptEngine);
162162

163-
auto& self = LegacyScriptEngine::getInstance();
163+
auto& self = LegacyScriptEngine::getInstance().getSelf();
164164
#ifndef LEGACY_SCRIPT_ENGINE_BACKEND_NODEJS // NodeJs backend load depends code in another place
165165
// Load BaseLib.
166166
auto baseLibPath = self.getModDir() / "baselib" / BaseLibFileName;

0 commit comments

Comments
 (0)