SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Incorrect ref API usage fixed. (#20913)

Summary:
release method of local_ref and global_ref doesn't call deallocator, in fact, it leaves the caller responsible for deletion of the reference, while otherwise the reference is released on scope left.

Fixes #18292.
Pull Request resolved: https://github.com/facebook/react-native/pull/20913

Differential Revision: D9616237

Pulled By: hramos

fbshipit-source-id: 021aa3e4f039e6b7a98da3e4224c1ee49d5a4921
S
Sergei Dryganets committed
09c78fe968e1bb71108c4058e76ebf70178e5a8b
Parent: 792cd09
Committed by Facebook Github Bot <[email protected]> on 8/31/2018, 7:50:02 PM