resolveFinish should be triggered when resolve succeeds.

This commit is contained in:
Renxuan Wang 2022-04-07 16:02:20 -07:00 committed by Zhe Wu
parent b7096c410f
commit a752faf122
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ ACTOR Future<Void> resolveImpl(Hostname* self) {
}
self->resolvedAddress = address;
self->status = Hostname::RESOLVED;
self->resolveFinish.trigger();
break;
} catch (...) {
self->status = Hostname::UNRESOLVED;