don't double start; don't try to handle double start.

This commit is contained in:
Jean-Paul Calderone 2019-03-28 16:10:36 -04:00
parent 6970c2cc6d
commit 53b40ef0e0
2 changed files with 0 additions and 4 deletions

View File

@ -761,7 +761,6 @@ class _Client(node.Node, pollmixin.PollMixin):
s = magic_folder.MagicFolder.from_config(self, name, mf_config)
self._magic_folders[name] = s
s.setServiceParent(self)
s.startService()
connected_d = self.storage_broker.when_connected_enough(threshold)
def connected_enough(ign, mf):

View File

@ -402,9 +402,6 @@ class MagicFolder(service.MultiService):
self._public_status = (status, messages)
def startService(self):
# TODO: why is this being called more than once?
if self.running:
return defer.succeed(None)
service.MultiService.startService(self)
return self.uploader.start_monitoring()