fix(client): fix panic in Pool

Closes #1339
This commit is contained in:
Sean McArthur
2017-09-28 21:44:41 -07:00
parent 57f86d42f2
commit 0fbc215f4b

View File

@@ -65,6 +65,7 @@ impl<T: Clone> Pool<T> {
trace!("Pool::put removing canceled parked {:?}", key); trace!("Pool::put removing canceled parked {:?}", key);
} else { } else {
tx.complete(entry.take().unwrap()); tx.complete(entry.take().unwrap());
break;
} }
/* /*
match tx.send(entry.take().unwrap()) { match tx.send(entry.take().unwrap()) {