Don't lock around the Stop() operation though, as that may take a while and block other operations. That may mean we call Stop() multiple times, but the Lease object should handle that correctly itself.
4.3 KiB
4.3 KiB