Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Add virtual destructors to ByteStream*#20417

Merged
stuartmorgan-g merged 1 commit into
flutter-team-archive:masterfrom
stuartmorgan-g:bytestream-virtual-destructor
Aug 11, 2020
Merged

Add virtual destructors to ByteStream*#20417
stuartmorgan-g merged 1 commit into
flutter-team-archive:masterfrom
stuartmorgan-g:bytestream-virtual-destructor

Conversation

@stuartmorgan-g

Copy link
Copy Markdown
Contributor

Description

Fixes the lack of virtual destructors in the ByteStream* interfaces classes in the C++ client wrapper.

Related Issues

None.

Tests

I added the following tests: None; evaluation of warning flags will follow shortly.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the contributor guide and followed the process outlined there for submitting PRs.
  • I signed the CLA.
  • I read and followed the C++, Objective-C, Java style guides for the engine.
  • I read the tree hygiene wiki page, which explains my responsibilities.
  • I updated/added relevant documentation.
  • All existing and new tests are passing.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Did any tests fail when you ran them? Please read handling breaking changes.

  • No, no existing tests failed, so this is not a breaking change.
  • Yes, this is a breaking change.

@auto-assign auto-assign Bot requested a review from GaryQian August 11, 2020 18:56
@stuartmorgan-g stuartmorgan-g merged commit 3242a69 into flutter-team-archive:master Aug 11, 2020
@stuartmorgan-g stuartmorgan-g deleted the bytestream-virtual-destructor branch August 11, 2020 21:39
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 11, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 12, 2020
renyou pushed a commit to renyou/engine that referenced this pull request Aug 13, 2020
renyou added a commit that referenced this pull request Aug 13, 2020
* Add virtual destructors to ByteStream* (#20417)

* Fix broken symbols on Fuchsia embedder (#20459)

See: b/163653659

Co-authored-by: stuartmorgan <stuartmorgan@google.com>
Co-authored-by: David Worsham <dworsham@google.com>
renyou added a commit that referenced this pull request Aug 14, 2020
* Add virtual destructors to ByteStream* (#20417)

* Fix broken symbols on Fuchsia embedder (#20459)

See: b/163653659

* Fix the legacy EncodableValue codepaths (#20501)

A recent refactoring broke the USE_LEGACY_ENCODABLE_VALUE codepath in
standard_codec.cc, which went unnoticed since it wasn't being compiled.
This fixes the breakage, and also adds a temporary minimal unit test
target that ensures that all the USE_LEGACY_ENCODABLE_VALUE paths are
being compiled.

Co-authored-by: stuartmorgan <stuartmorgan@google.com>
Co-authored-by: David Worsham <dworsham@google.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Development

Successfully merging this pull request may close these issues.

3 participants