mirror of
https://github.com/rstudio/shiny.git
synced 2026-02-07 05:04:58 -05:00
Observers were being prevented from being garbage collected by their own onReactiveDomainEnded() event handlers. This commit fixes that by making sure that those event handlers are only registered when autoDestroy=TRUE, and that they are unregistered both on destruction and when autoDestroy is changed.