question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Missing `ondestroy` event for deep removals

See original GitHub issue

It 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:closed
  • Created 6 years ago
  • Comments:30 (28 by maintainers)

github_iconTop GitHub Comments

2reactions
mindplay-dkcommented, Dec 19, 2017

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 😄

1reaction
jorgebucarancommented, Dec 19, 2017

Ah, the OO argument works for me, as that is exactly how you’d use ondestroy, as a destructor. 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found