diff options
Diffstat (limited to 'src/ClientGlobal.cxx')
-rw-r--r-- | src/ClientGlobal.cxx | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/ClientGlobal.cxx b/src/ClientGlobal.cxx index 47179b53d..2ce2d3839 100644 --- a/src/ClientGlobal.cxx +++ b/src/ClientGlobal.cxx @@ -53,20 +53,9 @@ void client_manager_init(void) * 1024; } -static void client_close_all(void) -{ - while (!client_list_is_empty()) { - Client *client = client_list_get_first(); - - client->Close(); - } - - assert(client_list_is_empty()); -} - void client_manager_deinit(void) { - client_close_all(); + client_list_close_all(); client_max_connections = 0; } |