aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/patches/26-fix-hang-after-fork.patch
blob: 727a35996253f19887c93994c63f28b6e3d9c6d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- contrib/libs/grpc/src/core/lib/event_engine/forkable.cc	(index)
+++ contrib/libs/grpc/src/core/lib/event_engine/forkable.cc	(working tree)
@@ -60,6 +60,7 @@ void PostforkParent() {
 }
 
 void PostforkChild() {
+  y_absl::ResetDeadlockGraphMu();
   grpc_core::MutexLock lock(g_mu.get());
   for (auto* forkable : *g_forkables) {
     forkable->PostforkChild();