mirror of https://github.com/aria2/aria2
2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed segmentation fault bug when exiting if dht is disabled. * src/RequestGroup.ccpull/1/head
parent
bc1f1bdf35
commit
bfcc300670
|
@ -1,3 +1,8 @@
|
|||
2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Fixed segmentation fault bug when exiting if dht is disabled.
|
||||
* src/RequestGroup.cc
|
||||
|
||||
2008-02-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Fixed typo in log message and define the message in message.h
|
||||
|
|
|
@ -609,9 +609,11 @@ void RequestGroup::releaseRuntimeResource()
|
|||
btContextInReg->getOwnerRequestGroup()->getGID() ==
|
||||
btContext->getOwnerRequestGroup()->getGID()) {
|
||||
BtRegistry::unregister(btContext->getInfoHashAsString());
|
||||
if(!DHTRegistry::_peerAnnounceStorage.isNull()) {
|
||||
DHTRegistry::_peerAnnounceStorage->removePeerAnnounce(btContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // ENABLE_BITTORRENT
|
||||
if(!_pieceStorage.isNull()) {
|
||||
_pieceStorage->removeAdvertisedPiece(0);
|
||||
|
|
Loading…
Reference in New Issue