1
0
Fork 0

[dcument] Compilation fix

This commit is contained in:
Witold Filipczyk 2023-11-27 18:33:44 +01:00
parent 51a9749028
commit 9dedc5779b
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@
#include "document/refresh.h"
#include "document/renderer.h"
#ifdef CONFIG_ECMASCRIPT
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
#include "ecmascript/ecmascript-c.h"
#endif
@ -474,7 +474,7 @@ release_document(struct document *document)
if_assert_failed return;
if (document->refresh) kill_document_refresh(document->refresh);
#ifdef CONFIG_ECMASCRIPT
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
kill_ecmascript_timeouts(document);
free_list(document->timeouts);
#endif