mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-03 18:12:58 +00:00
The rule of thumb to avoid resource leaks is that you should never call ObservableScope methods in a callback unless the ObservableScope is directly passed to or created inside that callback. I had a go at codifying this as a lint rule.