From: Matt Joiner Date: Tue, 17 Dec 2019 09:49:40 +0000 (+1100) Subject: Switch back to anacrolix/sync for the Client lock X-Git-Tag: v1.11.0~10 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=9e1804f52e62cc97e116001a49af8ea02bdc0b37;p=btrtrc.git Switch back to anacrolix/sync for the Client lock --- diff --git a/deferrwl.go b/deferrwl.go index 3b2ad7a3..e8e90e87 100644 --- a/deferrwl.go +++ b/deferrwl.go @@ -1,6 +1,6 @@ package torrent -import "sync" +import "github.com/anacrolix/sync" // Runs deferred actions on Unlock. Note that actions are assumed to be the results of changes that // would only occur with a write lock at present. The race detector should catch instances of defers