diff options
author | Marco Trevisan (TreviƱo) <mail@3v1n0.net> | 2021-05-17 18:17:02 +0200 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2021-08-01 15:54:59 -0700 |
commit | 713ed60f719e2e11a20fd1508210b2195247d547 (patch) | |
tree | 1885caf1bc785d7ad6bfc9d60ec8a89478da63fa /test | |
parent | 2fc0d36062c805aaa28a8e63763fafbe4d25cf75 (diff) | |
download | gjs-713ed60f719e2e11a20fd1508210b2195247d547.tar.gz |
context: Cleanup completed trampoline in context, as this is what they belong to
We're currently keeping a list of trampolines in a static vector, this
is acceptable (at least for a single-context scenario), but trampolines are
bound to a specific context so better to move the handling in the context.
Diffstat (limited to 'test')
-rw-r--r-- | test/gjs-test-rooting.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/gjs-test-rooting.cpp b/test/gjs-test-rooting.cpp index c3c89eb3..a58753da 100644 --- a/test/gjs-test-rooting.cpp +++ b/test/gjs-test-rooting.cpp @@ -12,6 +12,7 @@ #include <js/Value.h> #include <jsapi.h> // for JS_GetPrivate, JS_NewObject, JS_Set... +#include "gjs/context-private.h" #include "gjs/jsapi-util-root.h" #include "test/gjs-test-utils.h" |