diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-21 21:35:27 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-31 00:30:43 +0000 |
commit | 0b6d3534741640419fa8489172d22e673fc018d7 (patch) | |
tree | e0d079509da5ef543d4282a35f86c93d333bbe29 /src/libstore/remote-store.cc | |
parent | 862f20a4ba4a917e3442db2963e7f75bd7f567bf (diff) |
libutil: remove Pool::Handle::bad
it was used incorrectly (not swapped on handle move), only used in one
place (that is now handled with exception handling detection in Handle
itself), and if ever reintroduced should be replaced with a different,
more understandable mechanism (like an explicit dropAsInvalid method).
Change-Id: Ie3e5d5cfa81d335429cb2ee5c3ad85c74a9df17b
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r-- | src/libstore/remote-store.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index 20c1c50f2..3188d9330 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -155,7 +155,6 @@ void RemoteStore::setOptions(Connection & conn) RemoteStore::ConnectionHandle::~ConnectionHandle() { if (!daemonException && std::uncaught_exceptions()) { - handle.markBad(); debug("closing daemon connection because of an exception"); } } |