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 1b193a8 commit df0bfdeCopy full SHA for df0bfde
src/main/java/io/github/treesitter/jtreesitter/Language.java
@@ -62,6 +62,9 @@ private static UnsatisfiedLinkError unresolved(String name) {
62
* SymbolLookup symbols = SymbolLookup.libraryLookup(library, Arena.global());
63
* Language language = Language.load(symbols, "tree_sitter_java");
64
* }
65
+ * <p>
66
+ * <strong>The {@linkplain Arena} used to load the language
67
+ * must not be closed while the language is being used.</strong>
68
*
69
* @throws RuntimeException If the language could not be loaded.
70
*/
0 commit comments