lbry-sdk/lbrynet/core/client
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
..
__init__.py initial commit 2015-08-20 11:27:15 -04:00
BlobRequester.py make _download_manager private 2017-01-13 08:19:23 -06:00
ClientProtocol.py small changes 2016-12-30 13:27:17 -06:00
ClientRequest.py Replace settings with conf.settings 2016-12-30 13:05:18 -06:00
ConnectionManager.py bug fix: properly stop ConnectionManager 2017-01-13 08:24:06 -06:00
DHTPeerFinder.py whitespace 2016-11-03 14:42:57 -05:00
DownloadManager.py fixup: bug fix for stopping downloads 2017-01-13 08:24:06 -06:00
StandaloneBlobDownloader.py fixup long lines 2016-12-07 09:38:34 -05:00
StreamProgressManager.py fixup long lines 2016-12-07 09:38:34 -05:00