Fix to avoid loading of disabled device plugins
Summary: There is a bug right now that even for disabled plugins we're loading them. In particular, this led to the Flipper freezes caused by Logs plugin even if it is disabled. Reviewed By: passy Differential Revision: D26503012 fbshipit-source-id: 2068626f4637ced44c457ee1b7ba7fffdcf5aa47
This commit is contained in:
committed by
Facebook GitHub Bot
parent
805261b429
commit
c0010bea4c
@@ -802,6 +802,7 @@ export function importDataToStore(source: string, data: string, store: Store) {
|
||||
});
|
||||
archivedDevice.loadDevicePlugins(
|
||||
store.getState().plugins.devicePlugins,
|
||||
store.getState().connections.userStarredDevicePlugins,
|
||||
deserializeObject(device.pluginStates),
|
||||
);
|
||||
store.dispatch({
|
||||
|
||||
Reference in New Issue
Block a user