-
Jonas Ådahl authored
Add a _stop() function to the backend servers that is called before releasing the reference held by the daemon. This function will make sure the reference held by the socket listening meaning we'll actually reliably end up cleaning running the dispose function. Since we now do this, fix the session closing code that was already there; it hasn't excercised, since the daemon closes all sessions prior to tear server down. With these fixed, the session closing done by the daemon can be replaced by just making sure sessions did close.
51b9d246