lbry-sdk/lbrynet/core
Job Evers-Meltzer cb2bb6ee6b bug fix: properly stop ConnectionManager
It is possible (likely) that a manage call is in progress when
`stop` is called. When that happens, _manage will continue to
run, and schedule another call - and the manager won't actually stop,
and will likely cause an error as other components have been torn down.

This fix adds a deferred that gets created when a manage call starts
and is fired when its done.  At this points its safe to start the
stopping process.  Also add a check to not schedule another manage
call if we're stopped

This fixes https://app.asana.com/0/142330900434470/239832897034382
2017-01-13 08:24:06 -06:00
..
client bug fix: properly stop ConnectionManager 2017-01-13 08:24:06 -06:00
server fix bug in ServerProtocol 2016-12-28 14:34:38 -05:00
__init__.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
BlobAvailability.py BlobAvailabilityTracker.sample bug, remove whitespace 2016-12-17 20:05:27 -05:00
BlobInfo.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
BlobManager.py ensure hash_announcer exists before announcing 2017-01-06 08:00:22 -06:00
cryptoutils.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
DownloadOption.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
Error.py remove authjsonrpc subhandlers. we dont use them 2017-01-11 15:39:28 -05:00
HashAnnouncer.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
HashBlob.py Add scripts related to querying / downloading sd blobs 2017-01-11 12:05:34 -06:00
log_support.py Merge pull request #369 from lbryio/track-errors 2016-12-30 15:39:41 -06:00
looping_call_manager.py replace some strings 2016-10-20 11:30:38 -07:00
Offer.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
PaymentRateManager.py Replace settings with conf.settings 2016-12-30 13:05:18 -06:00
Peer.py clean up 2016-10-13 13:35:55 -04:00
PeerFinder.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
PeerManager.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
PriceModel.py Replace settings with conf.settings 2016-12-30 13:05:18 -06:00
PTCWallet.py fixup long lines 2016-12-07 09:38:34 -05:00
RateLimiter.py fixup long lines 2016-12-07 09:38:34 -05:00
Session.py Stop eating wallet connection error 2016-12-30 22:34:08 -06:00
sqlite_helpers.py pylint: add check for missing-final-newline 2016-12-14 19:21:59 -06:00
Strategy.py Replace settings with conf.settings 2016-12-30 13:05:18 -06:00
StreamCreator.py cleanup whitespace and long-lines 2016-11-04 11:44:50 -05:00
StreamDescriptor.py fixup long lines 2016-12-07 09:38:34 -05:00
system_info.py rename platform to system_info 2016-12-15 18:58:16 -06:00
utils.py send bug reports to slack 2017-01-02 14:52:24 -05:00
Wallet.py remove extraneous ellipses in messages 2017-01-11 15:39:28 -05:00