Re: Hook -relation-broken is broken with charms.reactive

2015-12-22 Thread Cory Johns
Thank you for that explanation. I was completely misunderstanding the -broken hook, thinking it would run for each unit like -departed and just indicated that the unit was finally gone. I didn't realize that it didn't fire until there were no remaining units and the relation was torn down in its

Re: Hook -relation-broken is broken with charms.reactive

2015-12-19 Thread Cory Johns
On Sat, Dec 19, 2015 at 3:45 AM, Stuart Bishop wrote: > Which unit name would you use? -relation-departed gets run multiple > times, once for each unit. -relation-broken gets run once, after all > the -departed hooks have been run. That can't be right. Surely it

Re: Hook -relation-broken is broken with charms.reactive

2015-12-19 Thread Stuart Bishop
On 20 December 2015 at 02:13, Cory Johns wrote: > On Sat, Dec 19, 2015 at 3:45 AM, Stuart Bishop > wrote: >> >> Which unit name would you use? -relation-departed gets run multiple >> times, once for each unit. -relation-broken gets run once,