Please merge 97a8c4caffd2e758c60a3e4502f07d6886ee0363 and 9d5e1331149062cd5de4ed5a54841c03872f8edd to stable 1.17. This fixes an issue where the GC could free a weak property's value.