mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 23:51:54 +00:00
Log rejected promises
Forgoten in f9114a87f2
Comments by: @Stan
Differential Revision: https://code.wildfiregames.com/D5305
This was SVN commit r28155.
This commit is contained in:
1 parent
0881583535
commit
6ea44f6fb4
3 files changed
+11
No files matched your search
@@ -132,6 +132,7 @@ ScriptContext::ScriptContext(int contextSize, int heapGrowthBytesGCTrigger):
|
||||
ScriptEngine::GetSingleton().RegisterContext(m_cx);
|
||||
|
||||
JS::SetJobQueue(m_cx, m_JobQueue.get());
|
||||
JS::SetPromiseRejectionTrackerCallback(m_cx, &Script::UnhandledRejectedPromise);
|
||||
}
|
||||
|
||||
ScriptContext::~ScriptContext()
|
||||
|
||||
Reference in new issue
Block a user