mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-02 15:36:05 +00:00
9a8fe206a4
One session is now routinely handed to a console and a command at once, and logout closed it for both, leaving whoever was left holding one that answered as though it had been lost. Count the holders and give up a claim instead, unless the session is no longer usable, which logout is told by sessionok. A console had no way to give a claim back: close deactivated its sol payload and left the session alone, which was right when closing meant closing it for everybody and is a leak now. Both of its exits release it.