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

Pages: [1]
Print
Author Topic: easy way to remove all Mediator?  (Read 7284 times)
marks416
Sr. Member
****
Posts: 52


View Profile Email
« on: March 26, 2009, 12:49:19 »

Hi,

I know how to if I can use a easy way to remove all mediator at same time.

I remove it one by one now.

Thanks


Mark
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: March 26, 2009, 04:08:44 »

Sure. Make them all interested in a note named something like 'TEARDOWN', to which they each respond by doing a facade.removeMediator(this.getMediatorName()).

-=Cliff>
Logged
Pages: [1]
Print