Missing `ondestroy` event for deep removals
See original GitHub issueIt appears the onremove
event isn’t triggered for children, when the parent is removed - I believe the following test demonstrates the problem:
https://github.com/mindplay-dk/picodom/commit/f108584890bdc936b44e8db5c071384bae3f3476
Looks like a bug? I’m unsure how to address it.
Issue Analytics
- State:
- Created 6 years ago
- Comments:30 (28 by maintainers)
Top Results From Across the Web
How to simulate an OnDestroy event on a TFrame in Delphi?
The problem with this is that by the time my destructor runs, controls on the frame have been destroyed and are no longer...
Read more >Excellent.js API
onReady}, * {@link EController.event:onDestroy EController. ... if missing, or else EController.find // won't see it; and worse - event onDestroy won't work ...
Read more >ANDROID LIFECYCLE FOR APPLICATION DEVELOPERS
and test your application for Android lifecycle events! ... and focused all the way to onDestroy without ever indicating focus lost. So onPause....
Read more >Upgrading from AngularJS to Angular
Here is what happens: Everything that happens in the application runs inside the Angular zone. This is true whether the event originated in...
Read more >Unity 2022.2.0
Useful for events that are using USEPASS or falling back to an assigned ... IL2CPP: Fixed missing static initialization calls in static ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s good to have these discussions - terminology is super important; I find until you can put words on things, it’s likely you don’t yet understand (or don’t agree) on the division of responsibilities to different units. I think by now we’re both much clearer on what’s what 😄
Ah, the OO argument works for me, as that is exactly how you’d use ondestroy, as a destructor. 👍