early-access version 3861

This commit is contained in:
pineappleEA
2023-09-10 04:07:21 +02:00
parent f8ca381d80
commit a8f426f152
6 changed files with 15 additions and 9 deletions

View File

@@ -201,7 +201,10 @@ void InterruptSocketOperations() {
void AcknowledgeInterrupt() {
u8 value = 0;
read(interrupt_pipe_fd[0], &value, sizeof(value));
ssize_t ret = read(interrupt_pipe_fd[0], &value, sizeof(value));
if (ret != 1 && errno != EAGAIN && errno != EWOULDBLOCK) {
LOG_ERROR(Network, "Failed to acknowledge interrupt on shutdown");
}
}
SOCKET GetInterruptSocket() {