Пример #1
0
 private void PieceHashed(object sender, PieceHashedEventArgs e)
 {
     if (e.TorrentManager.State != TorrentState.Hashing)
     {
         diskManager.QueueFlush(e.TorrentManager, e.PieceIndex);
     }
 }
Пример #2
0
 public void FlushFail()
 {
     writer.flush = true;
     Hookup();
     diskManager.QueueFlush(rig.Manager, 0);
     CheckFail();
 }