Skip to content

Commit 93490c5

Browse files
committed
fixup! feat: re-fetch incomplete catalogue in open()
1 parent 29bb46d commit 93490c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/DoocsBackend.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,8 @@ namespace ChimeraTK {
195195
_startVersion = {};
196196
setOpenedAndClearException();
197197

198-
// re-trigger catalogue filling? Only done after close() has been called *and* catalogue is not taken from cache
198+
// re-trigger catalogue filling? Only done if catalogue is not taken from cache, is not currently begin fetched, and
199+
// the catalogue is incomplete.
199200
if(!_catalogueFromCache && !_catalogueFuture.valid() && !catalogue.isComplete()) {
200201
_cancelFlag = std::promise<void>{};
201202
_catalogueFuture =

0 commit comments

Comments
 (0)