Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Removing mediators and views on: October 06, 2008, 03:02:10
Hello, I'm just getting into pureMVC and it worked superb so far.
The only thing I miss is some example on removing mediators and views.
Let's say we have 50-100 view some of them with subviews maybe with some PV3D on it and so on, so if the user is browsing the application at some point memory starts taking too much because of none of the mediators gets destroyed and all of them contain references to the viewcomponent he mediates.

How would you approach this situation?
Where should I place removemediator's, how to handle references to them etc.

I've searched the forum and at some point you discusses that it isn't a good idea to remove mediators. Just leave them where they are. Could you explain it a bit more?


Thanks, Daniel
Pages: [1]