Skip to content

Commit

Permalink
[message_filters] unregister method for Subscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Oct 12, 2015
1 parent ea9a768 commit ba045c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utilities/message_filters/src/message_filters/__init__.py
Expand Up @@ -76,6 +76,9 @@ def callback(self, msg):
def getTopic(self):
return self.topic

def unregister(self):
self.sub.unregister()

class Cache(SimpleFilter):

"""
Expand Down

0 comments on commit ba045c9

Please sign in to comment.