Memory leak on subscriptions
fbarbat opened this issue · 2 comments
fbarbat commented
As discussed in #44 (comment), running this test causes memory to steadily increase if looking at Activity Monitor.
func test_allocateTooMany() {
for i in 1...1000000000 {
let s = text.observe { _ in }
text.unobserve(s)
}
}
This is pointing to a leak somewhere. I don't know if it is Yswift itself or Yrs.
Horusiath commented
I'll check it on the yrs side.