googleapis / googleapis/google-cloud-cpp

Refactor how DefaultRowReader determines when to call OperationContext::PostCall

Offen
#15,314 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
type: cleanup
Vorherrschende Sprache
C++
Sterne
659
Forks
462
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
89

Beschreibung

It would be nice to remove the recently added `bool called_post_call_;` member variable and instead refactor how the internal state machine works to ensure OperationContext::PostCall is only called once regardless of success, error, or cancellation.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.