Commit c267907
committed
fix: register a push callback for dynamic subscriptions
`DynamicSubscriptionExecutable` did not implement `register_on_ready`, so it
fell through to the trait's no-op default. As a result the event-driven
executor never installed a "new message" callback for dynamic subscriptions,
and their callbacks never fired -- the executor was never notified that a
message had arrived.
Implement `register_on_ready` the same way a regular subscription does: a
dynamic subscription shares the rcl subscription readiness path, so report
`ReadyKind::Basic` and reuse `set_subscription_on_new_message`.1 parent d0002ce commit c267907
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
239 | 256 | | |
240 | 257 | | |
241 | 258 | | |
| |||
0 commit comments