mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix the following issue. root cause is that options.element is being reused when cleaning up, but if its value comes from a ref, it might be null at that point. 