lib/zk/event_handler_subscription/actor.rb in zk-1.4.1 vs lib/zk/event_handler_subscription/actor.rb in zk-1.4.2
- old
+ new
@@ -19,8 +19,13 @@
include Subscription::ActorStyle
def async?
true
end
+
+ # calls unsubscribe and shuts down
+ def close
+ unsubscribe
+ end
end
end
end