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