Task #338

Refactor Channel.listenTo(id)

Added by Espen Solbu over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:02/07/2012
Priority:NormalDue date:
Assignee:Espen Solbu% Done:

100%

Category:RefactorSpent time:-
Target version:2.0 Multiple models

Description

I am afraid that i might be leaking context in Channel instances
Plan:
- Add get/set on sourceChannelId, use this instead of listenTo everywhere.
- Add method startListening(Context context) (replacing current listenTo) registering the broadcast listener
- Add method stopListening(Context context) unregistering the broadcast listener

Refactor so only activities will trigger a startListening or stopListening

Associated revisions

Revision 273
Added by Espen Solbu over 5 years ago

closes #338 Modified Channels context use

History

#1 Updated by Espen Solbu over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r273.

Also available in: Atom PDF