Add excessive logging for "deinit" method for Msys plugin
Summary: Debugging T141716711 Reviewed By: antonk52 Differential Revision: D44295078 fbshipit-source-id: 5269c7308e71d8b2ba7881747fcd5cbe37d81729
This commit is contained in:
committed by
Facebook GitHub Bot
parent
bb1bb98801
commit
b76c8a390c
@@ -228,6 +228,9 @@ export default abstract class AbstractClient extends EventEmitter {
|
|||||||
// diff the background plugin list, disconnect old, connect new ones
|
// diff the background plugin list, disconnect old, connect new ones
|
||||||
oldBackgroundPlugins.forEach((plugin) => {
|
oldBackgroundPlugins.forEach((plugin) => {
|
||||||
if (!this.backgroundPlugins.has(plugin)) {
|
if (!this.backgroundPlugins.has(plugin)) {
|
||||||
|
if (plugin === 'Msys') {
|
||||||
|
console.log('AbstyractClient.refreshPlugins -> deinit Msys');
|
||||||
|
}
|
||||||
this.deinitPlugin(plugin);
|
this.deinitPlugin(plugin);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -371,6 +371,10 @@ function stopPlugin(
|
|||||||
!defaultEnabledBackgroundPlugins.includes(pluginId)) &&
|
!defaultEnabledBackgroundPlugins.includes(pluginId)) &&
|
||||||
client?.isBackgroundPlugin(pluginId)
|
client?.isBackgroundPlugin(pluginId)
|
||||||
) {
|
) {
|
||||||
|
// Debugging T141716711
|
||||||
|
if (pluginId === 'Msys') {
|
||||||
|
console.log('pluginManager.stopPlugin -> deinit Msys');
|
||||||
|
}
|
||||||
client.deinitPlugin(pluginId);
|
client.deinitPlugin(pluginId);
|
||||||
}
|
}
|
||||||
// stop sandy plugins
|
// stop sandy plugins
|
||||||
|
|||||||
Reference in New Issue
Block a user