remove()

in src/plugin/registry.ts [55:63]


  remove(placeId: PlaceId, plugin: PluginInterface) {
    const place = window.TEAMCITY_PLUGINS.store[placeId]
    if (!place?.includes(plugin)) {
      return
    }
    window.TEAMCITY_PLUGINS.store[placeId] = place?.filter(item => item !== plugin)

    window.TEAMCITY_PLUGINS.handlers.forEach(hander => hander())
  }