Skip to content

Conversation

@etschannen
Copy link
Contributor

This still crashes when using the object serializer

@etschannen etschannen requested a review from atn34 September 10, 2019 21:28
flow/flow.h Outdated
};

template<class V>
struct scalar_traits<CachedSerialization<V>> : std::true_type {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think one problem is that the vtable for V won't get collected, since flatbuffers thinks it doesn't have a vtable

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that should be fine though, since the save path for ErrorOr<EnsureTable<CachedSerialization>> never gets called

Copy link
Contributor

@ajbeamon ajbeamon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've approved, pending the TODO item for ErrorOr. I assume you'll add release notes in a single commit.

@etschannen etschannen marked this pull request as ready for review September 12, 2019 23:31
@etschannen etschannen merged commit ee89ea7 into apple:release-6.2 Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants