Lapsed Listener
noun
say it: “LAPST LIS-uh-ner” /læpst ˈlɪsənər/
A listener that never unsubscribed, so it stays on a list after its owner is finished, still reacting and still using memory.
What is a lapsed listener?
A lapsed listener is a listener that subscribed and never unsubscribed, so it stays on the list after its owner is done: a closed screen that keeps reacting to every change, and stays in memory because the list still holds it. The cure is to unsubscribe when it closes, with the same function it subscribed.
In a sentence
- “The closed door screen was a lapsed listener: gone from view, still hearing every lock.”
Level: Journeyman · More Software Development terms at this level
Updated