You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_z_declare_liveliness_token() in net/liveliness.c is supposed to register tokens in the _local_tokens map by using _z_liveliness_register_token().
For this, the following code is used: _z_liveliness_register_token(_Z_RC_IN_VAL(zn), id, keyexpr);
Unfortunately at this point the keyexpr is empty, since it has been stolen by _z_make_decl_token() -> _z_keyexpr_steal().
The following code should work better: _z_liveliness_register_token(_Z_RC_IN_VAL(zn), id, &declaration._body._decl_token._keyexpr);
Do you confirm?
Thanks.
To reproduce
.
System info
.
The text was updated successfully, but these errors were encountered:
Describe the bug
_z_declare_liveliness_token()
in net/liveliness.c is supposed to register tokens in the_local_tokens
map by using_z_liveliness_register_token()
.For this, the following code is used:
_z_liveliness_register_token(_Z_RC_IN_VAL(zn), id, keyexpr);
Unfortunately at this point the keyexpr is empty, since it has been stolen by
_z_make_decl_token()
->_z_keyexpr_steal()
.The following code should work better:
_z_liveliness_register_token(_Z_RC_IN_VAL(zn), id, &declaration._body._decl_token._keyexpr);
Do you confirm?
Thanks.
To reproduce
.
System info
.
The text was updated successfully, but these errors were encountered: