Skip to content

Commit

Permalink
revert task callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Drapersniper committed Mar 20, 2022
1 parent c5211be commit 1480a3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lavalink/player_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from .enums import *
from .errors import PlayerNotFound, NodeNotFound
from .rest_api import RESTClient, Track
from .utils import task_callback_debug

if TYPE_CHECKING:
from . import node
Expand Down Expand Up @@ -190,7 +189,6 @@ async def connect(self, deafen: bool = False, channel: Optional[discord.VoiceCha
if self._monitor_task is not None:
self._monitor_task.cancel()
self._monitor_task = asyncio.create_task(self._monitor())
self._monitor_task.add_done_callback(task_callback_debug)
if channel:
if self.channel:
self._last_channel_id = self.channel.id
Expand Down

0 comments on commit 1480a3d

Please sign in to comment.