Fixes Windows build
This commit is contained in:
@@ -34,9 +34,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
i32 RunAll(bool waitForDebugger) {
|
||||
i32 RunAll([[maybe_unused]]bool waitForDebugger) {
|
||||
auto ctx = _scriptResolver->GetContextPool()->RequestContext();
|
||||
ctx->SetUserData(_scriptResolver->GetUserdata());
|
||||
#if ANGELSCRIPT_DEBUGGER
|
||||
_scriptResolver->SetDebugger(new AngelscriptDebugger());
|
||||
auto& debugger = *_scriptResolver->GetDebugger().GetValue();
|
||||
debugger.Run(8684);
|
||||
@@ -48,6 +49,7 @@ public:
|
||||
}
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
}
|
||||
#endif
|
||||
|
||||
for (auto& test : _tests) {
|
||||
test.second->Run(ctx);
|
||||
|
||||
Reference in New Issue
Block a user