Better context for "Calling JS function after bridge has been destroyed" warning
Reviewed By: AaaChiuuu Differential Revision: D5091701 fbshipit-source-id: 9bf66cf35ffc3ade82a0ee61227760f0946d410d
This commit is contained in:
parent
afc114364b
commit
3f8af2deee
|
@ -239,7 +239,8 @@ public class CatalystInstanceImpl implements CatalystInstance {
|
|||
final String method,
|
||||
final NativeArray arguments) {
|
||||
if (mDestroyed) {
|
||||
FLog.w(ReactConstants.TAG, "Calling JS function after bridge has been destroyed.");
|
||||
final String call = module + "." + method + "(" + arguments.toString() + ")";
|
||||
FLog.w(ReactConstants.TAG, "Calling JS function after bridge has been destroyed: " + call);
|
||||
return;
|
||||
}
|
||||
if (!mAcceptCalls) {
|
||||
|
|
Loading…
Reference in New Issue