don't hang if store cannot be opened asynchronously
This commit is contained in:
parent
2c729bf9e6
commit
9e10e871fd
|
@ -678,8 +678,9 @@ store_opened( store_t *ctx, void *aux )
|
||||||
MVARS(aux)
|
MVARS(aux)
|
||||||
|
|
||||||
if (!ctx) {
|
if (!ctx) {
|
||||||
mvars->state[t] = ST_CLOSED;
|
|
||||||
mvars->ret = mvars->skip = 1;
|
mvars->ret = mvars->skip = 1;
|
||||||
|
mvars->state[t] = ST_CLOSED;
|
||||||
|
sync_chans( mvars, E_OPEN );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mvars->ctx[t] = ctx;
|
mvars->ctx[t] = ctx;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user