You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Channels created within the scope of a page may never get disposed. Upon route change, all channels associated to the widgets are just not used anymore. Even if the JavaScript engine may free the memory in this situation, a better resource management mechanism is needed.
Most reactive combinators attach an anonymous function to the changes stream of their data structure. For example:
(From widok/widok#29)
Channels created within the scope of a page may never get disposed. Upon route change, all channels associated to the widgets are just not used anymore. Even if the JavaScript engine may free the memory in this situation, a better resource management mechanism is needed.
Most reactive combinators attach an anonymous function to the
changes
stream of their data structure. For example:Here,
res
should not be independent fromsubscription
. Furthermore, the followingdispose()
relations should hold:changes.dispose()
callssubscription.dispose()
subscription.dispose()
callsres.dispose()
res.dispose()
callssubscription.dispose()
Resource management with regards to chained combinators is worth investigating as well.
Presently, some functions return delta streams which cannot provide a
dispose()
function. This may lead to resource leaks.The text was updated successfully, but these errors were encountered: