about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libutil/pool.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/pool.hh b/src/libutil/pool.hh
index 3c3dd4b074f3..20df21948849 100644
--- a/src/libutil/pool.hh
+++ b/src/libutil/pool.hh
@@ -137,6 +137,7 @@ public:
         } catch (...) {
             auto state_(state.lock());
             state_->inUse--;
+            wakeup.notify_one();
             throw;
         }
     }