libwsm
libwsm copied to clipboard
Make sure all the clients have been freed before allowing wsm_fini()
wsm_fini() should either kill all the clients or return an error if some clients still depend on it.
We could implement that by having the list of clients in libwsm or just count the number of clients. I would prefer having the first as the more information we have, the better!