Skip to content

Commit

Permalink
Implement abstract method can.Listener.stop() in MessageListener. (ch…
Browse files Browse the repository at this point in the history
  • Loading branch information
acolomb authored Apr 25, 2024
1 parent 713f005 commit a973919
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions canopen/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@ def on_message_received(self, msg):
# Exceptions in any callbaks should not affect CAN processing
logger.error(str(e))

def stop(self) -> None:
"""Override abstract base method to release any resources."""


class NodeScanner:
"""Observes which nodes are present on the bus.
Expand Down

0 comments on commit a973919

Please sign in to comment.