mirror of
https://github.com/discourse/discourse.git
synced 2024-12-11 21:16:14 +08:00
bd709c89a7
This PR fixes a bug where if you navigate from topic to another one (via suggested topics, notifications etc.), the previous topic is not unsubscribed from presence manager, which means if you visit lots of topics all the subscriptions will accumulate and can cause rate limit errors. This bug is exposed by the loading slider we're currently experimenting with on Meta because we no longer have an intermediate state when navigating between topics which means the `willDestroyElement` hook that's responsible for unsubscribing is not called. |
||
---|---|---|
.. | ||
javascripts/discourse | ||
stylesheets |