Return the result of the operation in ServiceObject.reload (#14755)

This commit is contained in:
Jason Simmons 2018-02-20 09:45:32 -08:00 committed by GitHub
parent 4f5f4222e0
commit 494270fe46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,6 +427,7 @@ abstract class ServiceObject {
completer.completeError(e, st);
}
_inProgressReload = null;
return await completer.future;
}
return await _inProgressReload;