File tree 2 files changed +3
-2
lines changed 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import (
5
5
"time"
6
6
7
7
notifications "github.com/ipfs/go-ipfs/exchange/bitswap/notifications"
8
- blocks "gx/ipfs/QmXxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh/go-block-format"
9
8
10
9
logging "gx/ipfs/QmSpJByNKFX1sCsHBEp3R73FL4NF6FnQTEGyNAXHm2GS52/go-log"
11
10
lru "gx/ipfs/QmVYxfoJQiZijTgPNHCHgHELvQpbsJNTg6Crmc3dQkj3yy/golang-lru"
12
11
loggables "gx/ipfs/QmVesPmqbPp7xRGyY96tnBwzDtVV1nqv4SCVxo5zCqKyH8/go-libp2p-loggables"
12
+ blocks "gx/ipfs/QmXxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh/go-block-format"
13
13
cid "gx/ipfs/Qma4RJSuh7mMeJQYCqMbKzekn6EwBo7HEs5AQYjVRMQATB/go-cid"
14
14
peer "gx/ipfs/QmdS9KpbDyPrieswibZhkod1oXqRwZJrUPzxCofAMWpFGq/go-libp2p-peer"
15
15
)
@@ -191,6 +191,7 @@ func (s *Session) run(ctx context.Context) {
191
191
_ , ok := s .liveWants [lwchk .c .KeyString ()]
192
192
lwchk .resp <- ok
193
193
case <- ctx .Done ():
194
+ s .tick .Stop ()
194
195
return
195
196
}
196
197
}
Original file line number Diff line number Diff line change 7
7
"time"
8
8
9
9
blocksutil "github.com/ipfs/go-ipfs/blocks/blocksutil"
10
- blocks "gx/ipfs/QmXxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh/go-block-format"
11
10
11
+ blocks "gx/ipfs/QmXxGS5QsUxpR3iqL5DjmsYPHR1Yz74siRQ4ChJqWFosMh/go-block-format"
12
12
cid "gx/ipfs/Qma4RJSuh7mMeJQYCqMbKzekn6EwBo7HEs5AQYjVRMQATB/go-cid"
13
13
)
14
14
You can’t perform that action at this time.
0 commit comments