Commit 13c073a
Remove dead
* fix: Call InputBinding.dispose() during unbinding (#2875)
InputBinding.dispose() was defined but never called. Now invoked
after unsubscribe and the shiny:unbound event in unbindInputs().
Also fixes the comment that incorrectly said "output" instead of "input".
* Remove InputBinding.dispose() — dead code, never called or documented
Rather than wiring up the never-called dispose(), remove it entirely.
The method was defined but never invoked for 6+ years, is not documented
in the custom input bindings article, and unsubscribe() already serves
as the teardown hook.
* Add NEWS entry for InputBinding.dispose() removal
* Apply suggestion from @cpsievert
* `npm run build` (GitHub Actions)
---------
Co-authored-by: Barret Schloerke <barret@posit.co>
Co-authored-by: cpsievert <cpsievert@users.noreply.github.com>InputBinding.dispose() method (#4375)1 parent 275d939 commit 13c073a
7 files changed
Lines changed: 9 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 89 | | |
97 | 90 | | |
98 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
0 commit comments