We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b879338 commit 2c9cf50Copy full SHA for 2c9cf50
Plugins/UnrealJS/Source/V8/Private/JavascriptOutputDevice.cpp
@@ -1,5 +1,6 @@
1
#include "V8PCH.h"
2
#include "JavascriptOutputDevice.h"
3
+#include "UObjectThreadContext.h"
4
5
/** This class is to capture all log output even if the log window is closed */
6
class FJavascriptOutputDevice : public FOutputDevice
@@ -32,7 +33,7 @@ class FJavascriptOutputDevice : public FOutputDevice
32
33
if (bIsReentrant) return;
34
35
TGuardValue<bool> ReentrantGuard(bIsReentrant, true);
- if (!OutputDevice->HasAnyFlags(RF_Unreachable))
36
+ if (!OutputDevice->HasAnyFlags(RF_Unreachable) && !FUObjectThreadContext::Get().IsRoutingPostLoad)
37
{
38
OutputDevice->OnMessage(V, (ELogVerbosity_JS)Verbosity, Category);
39
}
0 commit comments