mirror of
https://github.com/vector-im/element-call.git
synced 2026-11-19 09:32:29 +08: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.