Skip to content

Make FrameDeallocator::deallocate_frame unsafe - #146

Merged
phil-opp merged 1 commit into
masterfrom
unsafe-frame-dealloc
Apr 11, 2020
Merged

Make FrameDeallocator::deallocate_frame unsafe#146
phil-opp merged 1 commit into
masterfrom
unsafe-frame-dealloc

Conversation

@phil-opp

@phil-opp phil-opp commented Apr 11, 2020

Copy link
Copy Markdown
Member

This method should be unsafe because the caller must ensure that the passed frame is unused. Prior to #135, this was ensured by the UnusedPhysFrame type, which is now removed.

This is a breaking change.

Reported in 8a257cc#r38430639.

@phil-opp
phil-opp merged commit bd6e56b into master Apr 11, 2020
@phil-opp
phil-opp deleted the unsafe-frame-dealloc branch April 11, 2020 11:54
phil-opp added a commit that referenced this pull request Apr 11, 2020
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.

1 participant