1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

procedure property table is only key-weak, not doubly-weak

* libguile/procprop.c: Make the procedure property table only key-weak.
  It seems that we want the association as long as the key is around.
This commit is contained in:
Andy Wingo 2009-10-24 16:18:56 +02:00
parent 32b12f4050
commit 15ab466299

View file

@ -243,7 +243,7 @@ SCM_DEFINE (scm_set_procedure_property_x, "set-procedure-property!", 3, 0, 0,
void
scm_init_procprop ()
{
non_closure_props = scm_make_doubly_weak_hash_table (SCM_UNDEFINED);
non_closure_props = scm_make_weak_key_hash_table (SCM_UNDEFINED);
#include "libguile/procprop.x"
}