Message ID | 31e26aeb170e4b2367ec1ab7df0ea7040588015a.1461609759.git.crobinso@redhat.com |
---|---|
State | Accepted |
Commit | a680dde6432f43fc4a21f8b29c402746efc4c08d |
Headers | show |
diff --git a/daemon/stream.c b/daemon/stream.c index f072a17..8a97260 100644 --- a/daemon/stream.c +++ b/daemon/stream.c @@ -76,6 +76,8 @@ static void daemonStreamUpdateEvents(daemonClientStream *stream) { int newEvents = 0; + if (stream->closed) + return; if (stream->rx) newEvents |= VIR_STREAM_EVENT_WRITABLE; if (stream->tx && !stream->recvEOF)