[Masonry] Fix crash on unmount when using React 18 (#29358)
[Masonry] Fix crash on unmount when using React 18 (#29358)


mui-org/material-ui,mui-org/material-ui,rscnt/material-ui,rscnt/material-ui,oliviertassinari/material-ui,rscnt/material-ui,oliviertassinari/material-ui,mui-org/material-ui,oliviertassinari/material-ui