Skip to content

Commit

Permalink
remove ds printer
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed Jul 21, 2024
1 parent aa4502c commit 4838a83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mmap_span/mmap_span.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ func (ms *MMapSpan) flushMaps(onFlush func(size int64), lock bool) (errs []error
flushedCallback(ms.InfoHash, dirtyPieces)
}

fmt.Println("FDS", onFlush, dirtySize)
if onFlush != nil {
if onFlush != nil && dirtySize > 0 {
onFlush(dirtySize)
}

Expand Down

0 comments on commit 4838a83

Please sign in to comment.