LYXERR(Debug::LYXSERVER, "LyXComm: Connection established");
ready_ = true;
outbuf_.erase();
- DWORD status;
- bool success;
+ DWORD status = 0;
+ bool success = false;
while (!checkStopServer()) {
// Indefinitely wait for the completion of an overlapped
string message;
for (int i = 0; i != numclients_; ++i) {
message = "LYXSRV:" + clients_[i] + ":bye\n";
- pipes_.send(message);
+ // ignore exceptions, we are quitting anyway
+ try {
+ pipes_.send(message);
+ } catch (...) {}
}
}