SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 155 C++

Mark dtor as virtual (#36932)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/36932

changelog: [internal]

ShadowNode must have its destructor as virtual because it is a base class and is used polymorphically. It is deleted through a pointer.

Reviewed By: nlutsenko

Differential Revision: D45045682

fbshipit-source-id: 882d06d2ab200c201acc09693cb982561e908859
S
Samuel Susla committed
64e789e1e51f3745ced70b77c40b9cec598bee64
Parent: 7495883
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 4/18/2023, 3:31:17 PM