Skip to content
Snippets Groups Projects
Commit 296bbf3b authored by rswindell's avatar rswindell
Browse files

Fixed bug in waiting for service clients to terminate.

parent 1bfcb87e
No related branches found
No related tags found
No related merge requests found
......@@ -1234,6 +1234,7 @@ void DLLCALL services_thread(void* arg)
if(total_clients) {
lprintf("0000 Waiting for %d clients to disconnect",total_clients);
while(1) {
total_clients=0;
for(i=0;i<(int)services;i++)
total_clients+=service[i].clients;
if(!total_clients)
......
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