Remove asserts in EventTarget
Summary: changelog: [internal] Reviewed By: philIip Differential Revision: D32393073 fbshipit-source-id: 9e228000291d67f3a0cedaa152c0376e11d7dcf6
This commit is contained in:
Родитель
a96bdb7154
Коммит
19bca222dc
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче