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:
parent
32b12f4050
commit
15ab466299
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue