fix dead-loop if disconnect_all fails.

This commit is contained in:
Armin Schindler 2003-02-17 16:33:20 +00:00
parent 3f875de403
commit e127ecb7be
1 changed files with 1 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ static void disconnectall(void)
handlemessages();
} while (connections && time(0) < t);
if (connections)
if (connections && !exiting)
fatal("capiplugin: disconnectall failed");
}