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 5198b95 commit de22840Copy full SHA for de22840
src/global.rs
@@ -20,6 +20,10 @@ use super::*;
20
/// accessing interned symbols and Lisp functions, this is a non-issue, as the values are
21
/// supposed to be "static" anyway.
22
///
23
+/// The above is a shortcoming in the design of emacs-module. There are 2 possible ways to fix it:
24
+/// - Make [`free_global_ref`] work without an env, like Erlang's `enif_release_resource`.
25
+/// - Allow `user_ptr`'s finalizer to access the env, to properly free associated global refs.
26
+///
27
/// [`Env`]: struct.Env.html
28
/// [`Value`]: struct.Value.html
29
/// [`defun`]: attr.defun.html
0 commit comments