diff options
Diffstat (limited to 'tools/gator/daemon/Child.cpp')
-rw-r--r-- | tools/gator/daemon/Child.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/gator/daemon/Child.cpp b/tools/gator/daemon/Child.cpp index 286c7e7ba39..c0540762698 100644 --- a/tools/gator/daemon/Child.cpp +++ b/tools/gator/daemon/Child.cpp @@ -55,6 +55,9 @@ void handleException() { child->socket->receiveNBytes(&discard, 1); } + // Ensure all data is flushed + child->socket->shutdownConnection(); + // this indirectly calls close socket which will ensure the data has been sent delete sender; } |