Summary: changelog: [internal]

Reviewed By: philIip

Differential Revision: D32393073

fbshipit-source-id: 9e228000291d67f3a0cedaa152c0376e11d7dcf6
This commit is contained in:
Samuel Susla 2021-11-22 04:20:07 -08:00 коммит произвёл Facebook GitHub Bot
Родитель a96bdb7154
Коммит 19bca222dc
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -40,8 +40,10 @@ void EventTarget::retain(jsi::Runtime &runtime) const {
// particular implementation of JSI was able to detect this inconsistency and
// dealt with it, but some JSI implementation may not support this feature and
// that case will lead to a crash in those environments.
react_native_assert(!strongInstanceHandle_.isNull());
react_native_assert(!strongInstanceHandle_.isUndefined());
// TODO: Replace with mustfix once mustfix is ready in React Native.
// react_native_assert(!strongInstanceHandle_.isNull());
// react_native_assert(!strongInstanceHandle_.isUndefined());
}
void EventTarget::release(jsi::Runtime &runtime) const {