public void stopSeeding()

in common/src/main/java/jetbrains/buildServer/torrent/torrent/TeamcityTorrentClient.java [91:103]


  public void stopSeeding(@NotNull File torrentFile) {
    TorrentMetadata t = null;
    try {
      t = loadTorrent(torrentFile);
    } catch (FileNotFoundException e) {
      //torrent file can be deleted, ignore this exception
    } catch(IOException e) {
      LOG.warn(e.toString());
    }
    if (t != null) {
      myCommunicationManager.removeTorrent(t.getHexInfoHash());
    }
  }