Fix memory issues on Web

This commit is contained in:
Wojtek Figat
2026-03-16 16:42:30 +01:00
parent ed3a827b5f
commit 0f5c5dcf3e
5 changed files with 15 additions and 15 deletions

View File

@@ -179,15 +179,6 @@ void WebPlatform::Log(const StringView& msg, int32 logType)
emscripten_log(flags, buffer);
}
#if !BUILD_RELEASE
bool WebPlatform::IsDebuggerPresent()
{
return false;
}
#endif
String WebPlatform::GetComputerName()
{
return TEXT("Web");
@@ -335,7 +326,7 @@ Array<PlatformBase::StackFrame> WebPlatform::GetStackFrames(int32 skipCount, int
Array<StackFrame> result;
#if CRASH_LOG_ENABLE
// Get callstack
char callstack[1024];
char callstack[2000];
emscripten_get_callstack(EM_LOG_JS_STACK, callstack, sizeof(callstack));
// Parse callstack