fix: events no longer grows-while-looping anymore
Closes https://github.com/stevearc/profile.nvim/issues/6
The issue was that `events` was growing in-size while the for loop was running. By making a shallow copy here, the loop completes as expected.
合并状态:已合并 合并于 2024-11-09 关闭于 2024-11-09 4 条评论