Backport: Make checking for liveness of global values more precise.
We can't just use a hash lookup because a global and a local reference might refer to the same Lisp object. * src/emacs-module.c (module_free_global_ref): More precise check for global liveness. (cherry picked from commit 9f01ce63)
Showing with 8 additions and 5 deletions