Skip to content

Commit

Permalink
fix 'unready container' error after the resources invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
furmur committed May 1, 2024
1 parent 753ecc8 commit 91b419a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/resources/ResourceRedisConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,12 @@ void ResourceRedisConnection::process_reply_event(RedisReplyEvent& ev)
if(inv_seq.is_initial()) {
inv_seq.clear_initial();

if(resources_initialized_cb)
resources_initialized_cb();

Yeti::instance().postEvent(new YetiComponentInited(YetiComponentInited::Resource));
}

if(resources_initialized_cb)
resources_initialized_cb();

process_operations_queue();
}
} else if(ev.user_type_id == ResourceSequenceBase::REDIS_REPLY_OP_SEQ) {
Expand Down

0 comments on commit 91b419a

Please sign in to comment.