mirror of
https://github.com/rkd77/elinks.git
synced 2024-09-06 23:44:43 -04:00
[dcument] Compilation fix
This commit is contained in:
parent
51a9749028
commit
9dedc5779b
@ -62,7 +62,7 @@
|
|||||||
#include "document/refresh.h"
|
#include "document/refresh.h"
|
||||||
#include "document/renderer.h"
|
#include "document/renderer.h"
|
||||||
|
|
||||||
#ifdef CONFIG_ECMASCRIPT
|
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_QUICKJS) || defined(CONFIG_MUJS)
|
||||||
#include "ecmascript/ecmascript-c.h"
|
#include "ecmascript/ecmascript-c.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -474,7 +474,7 @@ release_document(struct document *document)
|
|||||||
if_assert_failed return;
|
if_assert_failed return;
|
||||||
|
|
||||||
if (document->refresh) kill_document_refresh(document->refresh);
|
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);
|
kill_ecmascript_timeouts(document);
|
||||||
free_list(document->timeouts);
|
free_list(document->timeouts);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user