Skip to content
Commit 4fba95c6 authored by Antoine Millet's avatar Antoine Millet
Browse files

Fixed bug with server's client connection management

A server need to keep a list of connected clients to trigger their
shutdown when a global server shutdown is requested. To avoid memory
leaks with the client list, the list is composed of weakref. Problem:
connected RpcConnection can be collected because the application is not
required to keep a ref on each connection.

The problem was fixed by removing weakrefs. The list is cleaned of its
offline clients each time a new client is connected.
parent d4cc7d0e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment