net/FakeSocket.cpp |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e8595dc831df007a287d0d67f728bba1fb5c8dea
Author:     Tor Lillqvist <[email protected]>
AuthorDate: Tue Jul 7 12:41:13 2020 +0300
Commit:     Tor Lillqvist <[email protected]>
CommitDate: Tue Jul 7 15:47:01 2020 +0200

    Do notify waiting threads when fakeSocketShutdown() completes
    
    Change-Id: I3d30eb0dfd92f55b44eff3c48094e99d7106b93a
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98262
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <[email protected]>

diff --git a/net/FakeSocket.cpp b/net/FakeSocket.cpp
index 51346eb7e..cb292a8fb 100644
--- a/net/FakeSocket.cpp
+++ b/net/FakeSocket.cpp
@@ -654,6 +654,8 @@ int fakeSocketShutdown(int fd)
     pair.shutdown[K] = true;
     pair.readable[K] = true;
 
+    theCV.notify_all();
+
     FAKESOCKET_LOG(1, "FakeSocket Shutdown #" << fd << flush());
 
     return 0;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to