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
d0022293c8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      kernel/model/repository.go

+ 1 - 1
kernel/model/repository.go

@@ -2018,7 +2018,7 @@ func getCloudSpace() (stat *cloud.Stat, err error) {
 }
 
 func pushReloadPlugin(upsertPluginSet, removePluginNameSet *hashset.Set) {
-	var upsertPlugins, removePlugins []string
+	upsertPlugins, removePlugins := []string{}, []string{}
 	for _, n := range upsertPluginSet.Values() {
 		upsertPlugins = append(upsertPlugins, n.(string))
 	}