Skip to content

Commit 0fbc215

Browse files
committed
fix(client): fix panic in Pool
Closes #1339
1 parent 57f86d4 commit 0fbc215

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/pool.rs

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ impl<T: Clone> Pool<T> {
6565
trace!("Pool::put removing canceled parked {:?}", key);
6666
} else {
6767
tx.complete(entry.take().unwrap());
68+
break;
6869
}
6970
/*
7071
match tx.send(entry.take().unwrap()) {

0 commit comments

Comments
 (0)