Explorar o código

:bug: After uninstalling the plugin, data synchronization does not uninstall it https://github.com/siyuan-note/siyuan/issues/11277

Daniel hai 1 ano
pai
achega
c6ab48818b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      kernel/model/repository.go

+ 2 - 0
kernel/model/repository.go

@@ -2025,6 +2025,8 @@ func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
 	for _, n := range removePluginNameSet.Values() {
 		removePlugins = append(removePlugins, n.(string))
 	}
+
+	logging.LogInfof("reload plugins [upserts=%v, removes=%v]", upsertPlugins, removePlugins)
 	util.BroadcastByType("main", "reloadPlugin", 0, "", map[string]interface{}{
 		"upsertPlugins": upsertPlugins,
 		"removePlugins": removePlugins,