From a1a56cd54cf3b469af1dbd1d1aa6be7ece50438a Mon Sep 17 00:00:00 2001 From: attila Date: Tue, 14 Oct 2025 15:53:50 +0200 Subject: [PATCH] Linux: WebBrowserComponent: Terminate subprocess if main process crashes --- .../juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp b/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp index 88849c2c9f..0ea1c1e4dd 100644 --- a/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp +++ b/modules/juce_gui_extra/native/juce_WebBrowserComponent_linux.cpp @@ -473,7 +473,7 @@ public: auto actual = read (inChannel, &dst[pos], static_cast (len - pos)); - if (actual < 0) + if (actual <= 0) { if (errno == EINTR) continue;