Add thisptr as gc root