PureMVC Architects Lounge

PureMVC Manifold => Standard Version => Topic started by: marks416 on March 26, 2009, 12:49:19



Title: easy way to remove all Mediator?
Post by: marks416 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


Title: Re: easy way to remove all Mediator?
Post by: puremvc 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>