Removing listeners

Hi

If I were to have a list box component on screen which had an event listener to get changes, when navigating away from the current screen, is it a good idea to remove any listeners that exists in that frame? If so, what is the best way to do it.

Is this best practice in clearing up listeners?

Cheers

delete? followed by the specific listener

why do you want to delete the listener?

why do you want to delete the listener?

Thats partly my question… is there a need to delete listeners once they are no longer required, ie moved to a different frame or are you supposed to practice good housekeeping?

I am a little unsure of listener protocol.

Cheers

I suppose it could reduce processing power to delete it, and potential cross-miss communication

but you would have start it back up again if you returned to the section in questions