forked from LBRYCommunity/lbry-sdk
fix unawaited task
This commit is contained in:
parent
f507d95198
commit
7d33b4f1f3
1 changed files with 3 additions and 1 deletions
|
@ -615,7 +615,9 @@ class UPnPComponent(Component):
|
|||
else:
|
||||
log.error("failed to setup upnp")
|
||||
if self.component_manager.analytics_manager:
|
||||
self.component_manager.analytics_manager.send_upnp_setup_success_fail(success, await self.get_status())
|
||||
await self.component_manager.analytics_manager.send_upnp_setup_success_fail(
|
||||
success, await self.get_status()
|
||||
)
|
||||
self._maintain_redirects_task = asyncio.create_task(self._repeatedly_maintain_redirects(now=False))
|
||||
|
||||
async def stop(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue