diff options
Diffstat (limited to 'src/murmur_grpcwrapper_protoc_plugin/main.cpp')
-rw-r--r-- | src/murmur_grpcwrapper_protoc_plugin/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/murmur_grpcwrapper_protoc_plugin/main.cpp b/src/murmur_grpcwrapper_protoc_plugin/main.cpp index ea6e19112..e4bbc334c 100644 --- a/src/murmur_grpcwrapper_protoc_plugin/main.cpp +++ b/src/murmur_grpcwrapper_protoc_plugin/main.cpp @@ -143,7 +143,7 @@ public: }; stream.Write(response, callback(cb)); while (!processed) { - QCoreApplication::processEvents(QEventLoop::ExcludeSocketNotifiers, 100); + QCoreApplication::sendPostedEvents(); } return success; } @@ -157,7 +157,7 @@ public: }; stream.Read(&request, callback(cb)); while (!processed) { - QCoreApplication::processEvents(QEventLoop::ExcludeSocketNotifiers, 100); + QCoreApplication::sendPostedEvents(); } return success; } |