Unconditionally log when destroying FabricUIManager

Summary:
Unconditionally log when destroying FabricUIManager.

Changelog:
[[Internal]]

Reviewed By: mmmulani

Differential Revision: D17944621

fbshipit-source-id: 89f97ff966ae5b071eb0b50d888b41b264d9dab9
This commit is contained in:
Joshua Gross
2019-10-16 00:17:29 -07:00
committed by Facebook Github Bot
parent e1cfeaddd4
commit 71d2c07c6e
@@ -217,9 +217,8 @@ public class FabricUIManager implements UIManager, LifecycleEventListener {
// This is called on the JS thread (see CatalystInstanceImpl).
@Override
public void onCatalystInstanceDestroy() {
if (DEBUG) {
FLog.d(TAG, "Destroying Catalyst Instance");
}
FLog.i(TAG, "FabricUIManager.onCatalystInstanceDestroy");
mEventDispatcher.removeBatchEventDispatchedListener(mEventBeatManager);
mEventDispatcher.unregisterEventEmitter(FABRIC);