> I forgot to ask this question... > > Is notLeader() method designed to be called when the session is closed? I don’t know what you mean by “session is closed”. Do you mean LeaderLatch.close()? All listeners are cleared when LeaderLatch.close() is called. close() should be thought of as “destroy”.
-Jordan
