summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vdservice/virtio_vdi_port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdservice/virtio_vdi_port.cpp b/vdservice/virtio_vdi_port.cpp
index 31a3862..92eb129 100644
--- a/vdservice/virtio_vdi_port.cpp
+++ b/vdservice/virtio_vdi_port.cpp
@@ -167,7 +167,7 @@ void VirtioVDIPort::read_completion()
if (!GetOverlappedResult(_handle, &_read.overlap, &bytes, FALSE)) {
DWORD err = GetLastError();
- if (err == ERROR_OPERATION_ABORTED) {
+ if (err == ERROR_OPERATION_ABORTED || err == ERROR_NO_SYSTEM_RESOURCES) {
_read.pending = false;
return;
} else if (err != ERROR_MORE_DATA) {